Code: Select all
Tasks: 210 total, 2 running, 208 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.0%us, 0.5%sy, 0.0%ni, 97.4%id, 0.8%wa, 0.2%hi, 0.2%si, 0.0%st
Mem: 6077376k total, 6040020k used, 37356k free, 638292k buffers
Swap: 4200988k total, 54164k used, 4146824k free, 2444568k cached
Code: Select all
QUERY CACHE
Query cache is enabled
Current query_cache_size = 24 M
Current query_cache_used = 19 M
Current query_cache_limit = 1 M
Current Query cache Memory fill ratio = 81.24 %
Current query_cache_min_res_unit = 4 K
However, 20819 queries have been removed from the query cache due to lack of memory
Perhaps you should raise query_cache_size
MySQL won't cache query results that are larger than query_cache_limit in size
JOINS
Current join_buffer_size = 2.00 M
You have had 662 queries where a join could not use an index properly
You have had 27 joins without keys that check for key usage after each row
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.
If you are unable to optimize your queries you may want to increase your
join_buffer_size to accommodate larger joins in one pass.
Note! This script will still suggest raising the join_buffer_size when
ANY joins not using indexes are found.
OPEN FILES LIMIT
Current open_files_limit = 36110 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
You currently have open more than 75% of your open_files_limit
You should set a higher value for open_files_limit in my.cnf
TABLE CACHE
Current table_cache value = 18000 tables
You have a total of 10764 tables
You have 18000 open tables.
Current table_cache hit rate is 37%, while 100% of your table cache is in use
You should probably increase your table_cache
TEMP TABLES
Current max_heap_table_size = 64 M
Current tmp_table_size = 64 M
Of 39133 temp tables, 60% were created on disk
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.