Guest User

Untitled

a guest
Mar 29th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. root@server [~]# perl mysqltuner.pl
  2.  
  3. >> MySQLTuner 1.3.0 - Major Hayden <[email protected]>
  4. >> Bug reports, feature requests, and downloads at http://mysqltuner.com/
  5. >> Run with '--help' for additional options and output filtering
  6. [OK] Currently running supported MySQL version 5.5.36-cll
  7. [OK] Operating on 64-bit architecture
  8.  
  9. -------- Storage Engine Statistics -------------------------------------------
  10. [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
  11. [--] Data in MyISAM tables: 250M (Tables: 430)
  12. [--] Data in InnoDB tables: 7M (Tables: 193)
  13. [--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
  14. [--] Data in MEMORY tables: 0B (Tables: 1)
  15. [!!] Total fragmented tables: 43
  16.  
  17. -------- Security Recommendations -------------------------------------------
  18. [OK] All database users have passwords assigned
  19.  
  20. -------- Performance Metrics -------------------------------------------------
  21. [--] Up for: 2d 4h 52m 18s (3M q [18.360 qps], 159K conn, TX: 2B, RX: 652M)
  22. [--] Reads / Writes: 49% / 51%
  23. [--] Total buffers: 8.1G global + 2.8M per thread (500 max threads)
  24. [OK] Maximum possible memory usage: 9.4G (60% of installed RAM)
  25. [OK] Slow queries: 0% (3K/3M)
  26. [OK] Highest usage of available connections: 61% (305/500)
  27. [OK] Key buffer size / total MyISAM indexes: 32.0M/76.8M
  28. [OK] Key buffer hit rate: 99.5% (54M cached / 264K reads)
  29. [!!] Query cache is disabled
  30. [OK] Sorts requiring temporary tables: 0% (74 temp sorts / 92K sorts)
  31. [!!] Joins performed without indexes: 12151
  32. [!!] Temporary tables created on disk: 26% (9K on disk / 37K total)
  33. [OK] Thread cache hit rate: 99% (305 created / 159K connections)
  34. [!!] Table cache hit rate: 0% (100 open / 50K opened)
  35. [OK] Open file limit used: 0% (184/65K)
  36. [OK] Table locks acquired immediately: 99% (3M immediate / 3M locks)
  37. [OK] InnoDB buffer pool / data size: 8.0G/7.2M
  38. [OK] InnoDB log waits: 0
  39. -------- Recommendations -----------------------------------------------------
  40. General recommendations:
  41. Run OPTIMIZE TABLE to defragment tables for better performance
  42. Enable the slow query log to troubleshoot bad queries
  43. Adjust your join queries to always utilize indexes
  44. When making adjustments, make tmp_table_size/max_heap_table_size equal
  45. Reduce your SELECT DISTINCT queries without LIMIT clauses
  46. Increase table_cache gradually to avoid file descriptor limits
  47. Read this before increasing table_cache over 64: http://bit.ly/1mi7c4C
  48. Variables to adjust:
  49. query_cache_size (>= 8M)
  50. join_buffer_size (> 128.0K, or always use indexes with joins)
  51. tmp_table_size (> 32M)
  52. max_heap_table_size (> 32M)
  53. table_cache (> 100)
Advertisement
Add Comment
Please, Sign In to add comment