./mysqltuner.pl
>> MySQLTuner 1.3.0 mod - Major Hayden <[email protected]>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Modified by George Liu (eva2000) at http://vbtechsupport.com/
>> Run with '--help' for additional options and output filtering
[OK] Currently running supported MySQL version 5.5.36-MariaDB
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: -ARCHIVE +Aria +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in InnoDB tables: 95M (Tables: 1)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[OK] Total fragmented tables: 0
-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 5m 35s (154K q [462.101 qps], 24 conn, TX: 114M, RX: 173M)
[--] Reads / Writes: 29% / 71%
[--] Total buffers: 176.0M global + 800.0K per thread (300 max threads)
[OK] Maximum possible memory usage: 410.4M (41% of installed RAM)
[OK] Slow queries: 0% (0/154K)
[OK] Highest usage of available connections: 0% (2/300)
[OK] Key buffer size / total MyISAM indexes: 32.0M/99.0K
[!!] Query cache efficiency: 0.0% (0 cached / 45K selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 2 sorts)
[OK] Temporary tables created on disk: 0% (0 on disk / 13 total)
[OK] Thread cache hit rate: 91% (2 created / 24 connections)
[OK] Table cache hit rate: 210% (42 open / 20 opened)
[OK] Open file limit used: 0% (51/8K)
[OK] Table locks acquired immediately: 100% (154K immediate / 154K locks)
[!!] InnoDB buffer pool / data size: 48.0M/95.7M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries.
Do not forget to disable slow query logging after troubleshooting
- For MySQL 5.0 http://dev.mysql.com/doc/refman/5.0/en/slow-query-log.html
- For MySQL 5.1 http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html
- For MySQL 5.5 http://dev.mysql.com/doc/refman/5.5/en/slow-query-log.html
- For MySQL 5.6 http://dev.mysql.com/doc/refman/5.6/en/slow-query-log.html
Variables to adjust:
query_cache_limit (> 512K, or use smaller result sets)
innodb_buffer_pool_size (>= 95M)