[email protected] [~]# /usr/local/cpanel/3rdparty/mysqltuner/mysqltuner.pl
Name "XML::Simple::PREFERRED_PARSER" used only once: possible typo at /usr/local/cpanel/3rdparty/mysqltuner/mysqltuner.pl line 148.
>> MySQLTuner 1.2.0_1 - Major Hayden <[email protected]>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.5.32-cll
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 112M (Tables: 269)
[--] Data in InnoDB tables: 59M (Tables: 66)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[!!] Total fragmented tables: 21
-------- Performance Metrics -------------------------------------------------
[--] Up for: 5d 3h 5m 2s (34M q [77.284 qps], 2M conn, TX: 22B, RX: 3B)
[--] Reads / Writes: 85% / 15%
[--] Total buffers: 168.0M global + 2.8M per thread (500 max threads)
[!!] Maximum possible memory usage: 1.5G (150% of installed RAM)
[OK] Slow queries: 0% (0/34M)
[OK] Highest usage of available connections: 7% (38/500)
[OK] Key buffer size / total MyISAM indexes: 8.0M/171.8M
[OK] Key buffer hit rate: 99.9% (23M cached / 28K reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 55K sorts)
[!!] Temporary tables created on disk: 26% (1M on disk / 7M total)
[!!] Thread cache is disabled
[OK] Table cache hit rate: 79% (400 open / 502 opened)
[OK] Open file limit used: 24% (610/2K)
[OK] Table locks acquired immediately: 99% (6M immediate / 6M locks)
[OK] InnoDB data size / buffer pool: 59.5M/128.0M
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
Reduce your overall MySQL memory footprint for system stability
Enable the slow query log to troubleshoot bad queries
When making adjustments, make tmp_table_size/max_heap_table_size equal
Reduce your SELECT DISTINCT queries without LIMIT clauses
Set thread_cache_size to 4 as a starting value
Variables to adjust:
*** MySQL's maximum memory usage is dangerously high ***
*** Add RAM before increasing MySQL buffer variables ***
query_cache_size (>= 8M)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)
thread_cache_size (start at 4)