Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------- General Statistics --------------------------------------------------
- [--] Skipped version check for MySQLTuner script
- [OK] Currently running supported MySQL version 5.1.41-3ubuntu12.6
- [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: 160M (Tables: 109)
- [--] Data in InnoDB tables: 48K (Tables: 3)
- [!!] Total fragmented tables: 29
- -------- Performance Metrics -------------------------------------------------
- [--] Up for: 20d 14h 37m 58s (70M q [39.495 qps], 4K conn, TX: 42B, RX: 3B)
- [--] Reads / Writes: 93% / 7%
- [--] Total buffers: 42.0M global + 1.6M per thread (151 max threads)
- [OK] Maximum possible memory usage: 277.9M (27% of installed RAM)
- [OK] Slow queries: 0% (111/70M)
- [OK] Highest usage of available connections: 13% (21/151)
- [OK] Key buffer size / total MyISAM indexes: 16.0M/156.7M
- [OK] Key buffer hit rate: 99.8% (321M cached / 710K reads)
- [!!] Query cache is disabled
- [OK] Sorts requiring temporary tables: 0% (97 temp sorts / 181K sorts)
- [!!] Joins performed without indexes: 61386806
- [!!] Temporary tables created on disk: 43% (161K on disk / 373K total)
- [!!] Thread cache is disabled
- [!!] Table cache hit rate: 0% (64 open / 180K opened)
- [OK] Open file limit used: 11% (116/1K)
- [OK] Table locks acquired immediately: 99% (137M immediate / 137M locks)
- [OK] InnoDB data size / buffer pool: 48.0K/8.0M
- -------- Recommendations -----------------------------------------------------
- General recommendations:
- Run OPTIMIZE TABLE to defragment tables for better performance
- Enable the slow query log to troubleshoot bad queries
- Adjust your join queries to always utilize indexes
- 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
- Increase table_cache gradually to avoid file descriptor limits
- Variables to adjust:
- query_cache_size (>= 8M)
- join_buffer_size (> 128.0K, or always use indexes with joins)
- tmp_table_size (> 16M)
- max_heap_table_size (> 16M)
- thread_cache_size (start at 4)
- table_cache (> 64)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement