I perpetually see something like the following:
My server load is high and my queries are slow and my server
crashes. Can you help me tune my server? Here is some
information.
[random sample of SHOW GLOBAL STATUS, like the query cache
counters]
my.cnf:
[mysqld]
key_buffer_size=1500M
query_cache_size= 64M
max_connections = 256
key_buffer = 8M
sort_buffer_size = 100M
read_buffer_size = 8M
delay_key_write = ALL
There are many problems in this my.cnf file, but the
sort_buffer_size is a glaring one that identifies the user as
someone who should not be playing with live ammunition.
Therefore, I have developed an advanced process for tuning
sort_buffer_size, which you can follow to get amazing
performance improvements. It’s magical.
- How expert are you?
- I know that there is a sort buffer, and that it is
related to sort_merge_passes. When …
[Read more]