Skip to main content

Cent OS 5.10 MySQL optimization

Comments

2 comments

  • cPanelMichael
    Please ensure you let MySQL run for at least 24 hours before running the tuner to allow for accurate results. Thank you.
    0
  • johnchristy
    [quote="cPanelMichael, post: 1627412">Please ensure you let MySQL run for at least 24 hours before running the tuner to allow for accurate results. Thank you.
    Hello Michael, Kindly refer this log : >> MySQLTuner 1.3.0 - Major Hayden >> Bug reports, feature requests, and downloads at http://mysqltuner.com/ >> Run with '--help' for additional options and output filtering [OK] Currently running supported MySQL version 5.5.36-cll [OK] Operating on 64-bit architecture -------- Storage Engine Statistics ------------------------------------------- [--] Status: +ARCHIVE +BLACKHOLE +CSV +FEDERATED +InnoDB +MRG_MYISAM [--] Data in MyISAM tables: 15M (Tables: 163) [--] Data in InnoDB tables: 10M (Tables: 603) [--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17) [!!] Total fragmented tables: 2 -------- Security Recommendations ------------------------------------------- [OK] All database users have passwords assigned -------- Performance Metrics ------------------------------------------------- [--] Up for: 1d 21h 11m 29s (76K q [0.468 qps], 6K conn, TX: 64M, RX: 8M) [--] Reads / Writes: 53% / 47% [--] Total buffers: 684.0M global + 6.4M per thread (151 max threads) [!!] Maximum possible memory usage: 1.6G (109% of installed RAM) [OK] Slow queries: 0% (0/76K) [OK] Highest usage of available connections: 5% (8/151) [OK] Key buffer size / total MyISAM indexes: 256.0M/3.0M [OK] Key buffer hit rate: 99.0% (81K cached / 849 reads) [OK] Query cache efficiency: 86.3% (41K cached / 48K selects) [OK] Query cache prunes per day: 0 [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 757 sorts) [OK] Temporary tables created on disk: 21% (421 on disk / 1K total) [OK] Thread cache hit rate: 99% (8 created / 6K connections) [!!] Table cache hit rate: 4% (128 open / 3K opened) [OK] Open file limit used: 3% (137/3K) [OK] Table locks acquired immediately: 99% (16K immediate / 16K locks) [OK] InnoDB buffer pool / data size: 256.0M/10.7M [OK] InnoDB log waits: 0 -------- Recommendations ----------------------------------------------------- General recommendations: Run OPTIMIZE TABLE to defragment tables for better performance Reduce your overall MySQL memory footprint for system stability Increase table_cache gradually to avoid file descriptor limits Read this before increasing table_cache over 64: http://bit.ly/1mi7c4C Variables to adjust: *** MySQL's maximum memory usage is dangerously high *** *** Add RAM before increasing MySQL buffer variables *** table_cache (> 128)
    0

Please sign in to leave a comment.