- >> MySQLTuner 1.2.0 - Major Hayden <major@mhtx.net>
- >> Bug reports, feature requests, and downloads at http://mysqltuner.com/
- >> Run with '--help' for additional options and output filtering
- Please enter your MySQL administrative login:
- Please enter your MySQL administrative password:
- -------- General Statistics --------------------------------------------------
- [--] Skipped version check for MySQLTuner script
- [OK] Currently running supported MySQL version 5.1.41-3ubuntu12.10
- [OK] Operating on 32-bit architecture with less than 2GB RAM
- -------- Storage Engine Statistics -------------------------------------------
- [--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
- [--] Data in MyISAM tables: 3G (Tables: 460)
- [--] Data in MEMORY tables: 252K (Tables: 2)
- [!!] InnoDB is enabled but isn't being used
- [!!] Total fragmented tables: 57
- -------- Security Recommendations -------------------------------------------
- [OK] All database users have passwords assigned
- -------- Performance Metrics -------------------------------------------------
- [--] Up for: 1d 6h 9m 10s (2M q [23.336 qps], 127K conn, TX: 1B, RX: 1B)
- [--] Reads / Writes: 57% / 43%
- [--] Total buffers: 42.1M global + 1.0M per thread (151 max threads)
- [OK] Maximum possible memory usage: 193.1M (19% of installed RAM)
- [OK] Slow queries: 0% (764/2M)
- [OK] Highest usage of available connections: 27% (41/151)
- [!!] Key buffer size / total MyISAM indexes: 64.0K/1.8G
- [!!] Key buffer hit rate: 81.0% (80M cached / 15M reads)
- [OK] Query cache efficiency: 47.7% (777K cached / 1M selects)
- [!!] Query cache prunes per day: 22551
- [OK] Sorts requiring temporary tables: 1% (127 temp sorts / 11K sorts)
- [!!] Temporary tables created on disk: 43% (4K on disk / 10K total)
- [OK] Thread cache hit rate: 99% (95 created / 127K connections)
- [!!] Table cache hit rate: 0% (16 open / 320K opened)
- [OK] Open file limit used: 2% (29/1K)
- [OK] Table locks acquired immediately: 99% (2M immediate / 2M locks)
- -------- Recommendations -----------------------------------------------------
- General recommendations:
- Add skip-innodb to MySQL configuration to disable InnoDB
- Run OPTIMIZE TABLE to defragment tables for better performance
- 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
- Increase table_cache gradually to avoid file descriptor limits
- Variables to adjust:
- key_buffer_size (> 1.8G)
- query_cache_size (> 16M)
- tmp_table_size (> 16M)
- max_heap_table_size (> 16M)
- table_cache (> 16)
SHARE
TWEET
Untitled
a guest
Oct 10th, 2011
104
Never
RAW Paste Data
