Hello,
I am using MySQL 4.0 on a Sun Solaris 8 system. What settings would be optimal to change to improve MySQL performance with repect to doing Reads (SELECTs) on a databases 10-30 gig in size for reporting?
Will InnoDB improve read performance? If so how would you recommend configuring it?
At the moment I am using the "medium-ish" properties in my my.cnf file shown below.
# The MySQL server
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-locking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = table_cache=64
set-variable = sort_buffer=512K
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=8M
log-bin
server-id = 1
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
Thanks,
Michael42
I am using MySQL 4.0 on a Sun Solaris 8 system. What settings would be optimal to change to improve MySQL performance with repect to doing Reads (SELECTs) on a databases 10-30 gig in size for reporting?
Will InnoDB improve read performance? If so how would you recommend configuring it?
At the moment I am using the "medium-ish" properties in my my.cnf file shown below.
# The MySQL server
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-locking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = table_cache=64
set-variable = sort_buffer=512K
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=8M
log-bin
server-id = 1
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
Thanks,
Michael42