Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Improving Read Performance on Large Databases

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
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
 
sleipnir214,

Thanks - that info is useful on InnoDB. :) Unfortunately I cannot make any SQL level or table\index changes as there is an abstraction layer (application) that governs this.

What I can change is the my.cnf. What changes to the my.cnf would be advisable to improve read performance?

Thanks,

Michael42
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top