Mysqltuner testi:
./mysqltuner.pl >> MySQLTuner 1.4.0 - Major Hayden
[OK] Key buffer hit rate: 99.4% (1M cached / 10K reads) [OK] Query cache efficiency: 56.7% (18M cached / 33M selects)
[!!] Query cache prunes per day: 30611
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 8M sorts)
[!!] Joins performed without indexes: 460935
[OK] Temporary tables created on disk: 0% (19K on disk / 8M total)
[OK] Thread cache hit rate: 99% (240 created / 1M connections)
[OK] Table cache hit rate: 51% (2K open / 3K opened)
[OK] Open file limit used: 3% (968/30K)
[OK] Table locks acquired immediately: 99% (53M immediate / 53M locks)
[!!] InnoDB buffer pool / data size: 5.0M/550.1M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
Reduce your overall MySQL memory footprint for system stability
Adjust your join queries to always utilize indexes
Variables to adjust:
*** MySQL's maximum memory usage is dangerously high ***
*** Add RAM before increasing MySQL buffer variables ***
query_cache_size (> 64M)
join_buffer_size (> 64.0M, or always use indexes with joins)
innodb_buffer_pool_size (>= 550M)
Sunucu 4 çekirdek 2.80 ghz ve 6 GB RAM var.
Birde litespeed kullanıyorum
Sizin önereceğiniz my.cnf optimizasyonu var mıdır?