Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> MySQLTuner 1.3.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
- [OK] Logged in using credentials from debian maintenance account.
- [OK] Currently running supported MySQL version 5.5.35-0ubuntu0.12.04.2
- [OK] Operating on 64-bit architecture
- -------- Storage Engine Statistics -------------------------------------------
- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
- [--] Data in MyISAM tables: 67K (Tables: 14)
- [--] Data in InnoDB tables: 26M (Tables: 98)
- [--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
- [!!] Total fragmented tables: 98
- -------- Security Recommendations -------------------------------------------
- [OK] All database users have passwords assigned
- -------- Performance Metrics -------------------------------------------------
- [--] Up for: 11d 4h 40m 18s (430K q [0.445 qps], 4K conn, TX: 3B, RX: 330M)
- [--] Reads / Writes: 79% / 21%
- [--] Total buffers: 176.0M global + 2.6M per thread (30 max threads)
- [OK] Maximum possible memory usage: 254.8M (15% of installed RAM)
- [OK] Slow queries: 0% (50/430K)
- [OK] Highest usage of available connections: 60% (18/30)
- [OK] Key buffer size / total MyISAM indexes: 8.0M/126.0K
- [!!] Key buffer hit rate: 35.4% (195 cached / 126 reads)
- [OK] Query cache efficiency: 44.8% (100K cached / 224K selects)
- [OK] Query cache prunes per day: 0
- [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 92K sorts)
- [!!] Temporary tables created on disk: 31% (14K on disk / 45K total)
- [OK] Thread cache hit rate: 98% (90 created / 4K connections)
- [!!] Table cache hit rate: 0% (4 open / 31K opened)
- [OK] Open file limit used: 0% (0/1K)
- [OK] Table locks acquired immediately: 99% (138K immediate / 138K locks)
- [OK] InnoDB buffer pool / data size: 128.0M/26.4M
- [OK] InnoDB log waits: 0
- -------- Recommendations -----------------------------------------------------
- General recommendations:
- 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
- Read this before increasing table_cache over 64: http://bit.ly/1mi7c4C
- Variables to adjust:
- tmp_table_size (> 16M)
- max_heap_table_size (> 16M)
- table_cache (> 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement