سلام دوستان
این لوگ slow query
البته این چیزی رو نمایش نمیده و همیش همین خیط کپی میشه تو این ریپورت
کد:
/usr/sbin/mysqld, Version: 5.0.91-community-log (MySQL Community Edition (GPL)). started $
Tcp port: 0 Unix socket: (null)
Time Id Command Argument
و گزارش myslqtuner
کد:
-------- Performance Metrics -------------------------------------------------
[--] Up for: 10s (174 q [17.400 qps], 14 conn, TX: 44K, RX: 13K)
[--] Reads / Writes: 54% / 46%
[--] Total buffers: 34.0M global + 2.7M per thread (100 max threads)
[OK] Maximum possible memory usage: 309.0M (1% of installed RAM)
[OK] Slow queries: 0% (0/174)
[OK] Highest usage of available connections: 3% (3/100)
[!!] Key buffer size / total MyISAM indexes: 8.0M/44.4M
[!!] Key buffer hit rate: 58.3% (211 cached / 88 reads)
[!!] Query cache is disabled
[OK] Temporary tables created on disk: 0% (0 on disk / 2 total)
[!!] Thread cache is disabled
[OK] Table cache hit rate: 82% (29 open / 35 opened)
[OK] Open file limit used: 5% (58/1K)
[OK] Table locks acquired immediately: 100% (160 immediate / 160 locks)
[!!] Connections aborted: 7%
-------- Recommendations -----------------------------------------------------
General recommendations:
Add skip-innodb to MySQL configuration to disable InnoDB
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Set thread_cache_size to 4 as a starting value
Your applications are not closing MySQL connections properly
Variables to adjust:
key_buffer_size (> 44.4M)
query_cache_size (>= 8M)
thread_cache_size (start at 4)
با تشکر از دوستان