Hello there, thanks for taking the time to read my post!
I have been brought in to help consult with a local .com here. They wanted hardware consultation for upgrading / adding to the MySQL server environment. I am quite certain they actually have optimization issues with their server that could greatly improve performance. However I will need some help from experts such as yourselves, where I don’t have a ton of experience tweaking mysql.
I am going to include some pictures here :
[URL]http://micromatikal.dlinkddns.com:8000/cust/[/URL]
Please let me know if you have any input, I would greatly appreciate any suggestions. We are seeing very slow queries, I’m sure a lot of it is due to lack of query optimization, but I’m sure there are some server settings that would help. If you need me to post anything from the configuration file please let me know.
It looks like they are currently using Myisam, would it be advantageous to use InnoDB? At this time though I need to tweak it as best as can be for what they have set up.
Also, some interesting settings from the my.cnf file are:
cat /etc/my.cnf | grep -i buffer
key_buffer_size = 2G
sort_buffer_size = 12M
MUST BE SAME SIZE AS read_buffer_size
read_buffer_size = 8M
read_rnd_buffer_size = 12M
myisam_sort_buffer_size = 256M
join_buffer_size = 4M
search_cache.key_buffer_size = 4G
You can set …_buffer_pool_size up to 50 - 80 %
#innodb_buffer_pool_size = 384M
Set …_log_file_size to 25 % of buffer pool size
#innodb_log_buffer_size = 8M
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
Thank you so much for any advice you can give
Tim