- root@poker1 [~]# ./mysqltuner.pl
- >> MySQLTuner 1.0.1 - Major Hayden <major@mhtx.net>
- >> 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.0.90-community-log
- [OK] Operating on 64-bit architecture
- -------- Storage Engine Statistics -------------------------------------------
- [--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
- [--] Data in MyISAM tables: 23M (Tables: 89)
- [--] Data in InnoDB tables: 1G (Tables: 15)
- [!!] Total fragmented tables: 3
- -------- Performance Metrics -------------------------------------------------
- [--] Up for: 5d 17h 13m 41s (65M q [132.044 qps], 5M conn, TX: 132B, RX: 4B)
- [--] Reads / Writes: 59% / 41%
- [--] Total buffers: 2.5G global + 40.4M per thread (110 max threads)
- [OK] Maximum possible memory usage: 6.8G (58% of installed RAM)
- [OK] Slow queries: 0% (4K/65M)
- [OK] Highest usage of available connections: 79% (87/110)
- [OK] Key buffer size / total MyISAM indexes: 1.0G/24.7M
- [OK] Key buffer hit rate: 99.7% (7M cached / 25K reads)
- [OK] Query cache efficiency: 43.5% (10M cached / 23M selects)
- [OK] Query cache prunes per day: 0
- [!!] Sorts requiring temporary tables: 40% (1K temp sorts / 4K sorts)
- [OK] Temporary tables created on disk: 1% (596 on disk / 40K total)
- [OK] Thread cache hit rate: 99% (194 created / 5M connections)
- [OK] Table cache hit rate: 67% (220 open / 324 opened)
- [OK] Open file limit used: 4% (221/4K)
- [OK] Table locks acquired immediately: 99% (24M immediate / 24M locks)
- [!!] InnoDB data size / buffer pool: 1.2G/1000.0M
- -------- Recommendations -----------------------------------------------------
- General recommendations:
- Run OPTIMIZE TABLE to defragment tables for better performance
- Variables to adjust:
- sort_buffer_size (> 16M)
- read_rnd_buffer_size (> 16M)
- innodb_buffer_pool_size (>= 1G)