Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 3.15 KB | None | 0 0
  1. [root@m2765 tmp]# perl mysqltuner.pl
  2.  >>  MySQLTuner 1.4.4 - Major Hayden <major@mhtx.net>
  3.  >>  Bug reports, feature requests, AND downloads at http://mysqltuner.com/
  4.  >>  Run WITH '--help' FOR additional options AND output filtering
  5. Please enter your MySQL administrative login: root
  6. Please enter your MySQL administrative password:
  7. [OK] Currently running supported MySQL version 5.1.73-log
  8. [OK] Operating ON 64-bit architecture
  9.  
  10. -------- Storage Engine Statistics -------------------------------------------
  11. [--] Status: +CSV +InnoDB +MRG_MYISAM
  12. [--] Data in MyISAM tables: 46G (Tables: 100)
  13. [--] Data in InnoDB tables: 960K (Tables: 60)
  14. [!!] Total fragmented TABLES: 66
  15.  
  16. -------- Security Recommendations  -------------------------------------------
  17. [OK] There IS no anonymous account IN ALL DATABASE users
  18. [OK] ALL DATABASE users have passwords assigned
  19. [!!] USER 'a2bdbuser@%' hasn't specific host restriction.
  20. [!!] User 'kamuser@%' hasn't specific host restriction.
  21. [!!] There IS NOT basic password file list !
  22. -------- Performance Metrics -------------------------------------------------
  23. [--] Up for: 202d 15h 11m 55s (4B q [262.291 qps], 291M conn, TX: 4164B, RX: 730B)
  24. [--] Reads / Writes: 65% / 35%
  25. [--] Total buffers: 98.0M global + 10.6M per thread (100000 max threads)
  26. [!!] Maximum possible memory usage: 1037.7G (823% OF installed RAM)
  27. [OK] Slow queries: 0% (9K/4B)
  28. [OK] Highest usage OF available connections: 1% (1408/100000)
  29. [OK] KEY buffer SIZE / total MyISAM indexes: 8.0M/15.4G
  30. [OK] KEY buffer hit rate: 95.7% (14B cached / 622M reads)
  31. [!!] Query cache efficiency: 6.4% (144M cached / 2B selects)
  32. [!!] Query cache prunes per DAY: 94669
  33. [OK] Sorts requiring TEMPORARY TABLES: 0% (38K temp sorts / 46M sorts)
  34. [!!] Joins performed WITHOUT indexes: 40702085
  35. [OK] TEMPORARY TABLES created ON disk: 0% (36K ON disk / 40M total)
  36. [OK] Thread cache hit rate: 95% (12M created / 291M connections)
  37. [!!] TABLE cache hit rate: 0% (128 OPEN / 695K opened)
  38. [OK] OPEN file LIMIT used: 0% (133/500K)
  39. [OK] TABLE locks acquired immediately: 99% (1B immediate / 1B locks)
  40.  
  41. -------- InnoDB Metrics -----------------------------------------------------
  42. [--] InnoDB is enabled.
  43. [--] InnoDB BufferPool Size :8.0M
  44. [OK] InnoDB buffer pool / DATA SIZE: 8.0M/960.0K
  45. [OK] InnoDB log waits: 0
  46.  
  47. -------- Recommendations -----------------------------------------------------
  48. General recommendations:
  49.     Run OPTIMIZE TABLE TO defragment TABLES FOR better performance
  50.     RESTRICT Host FOR USER@% TO USER@SpecificDNSorIp
  51.     Reduce your overall MySQL memory footprint FOR system stability
  52.     Enable the slow query log TO troubleshoot bad queries
  53.     Adjust your JOIN queries TO always utilize indexes
  54.     Increase table_open_cache gradually TO avoid file descriptor limits
  55.     READ this BEFORE increasing table_open_cache OVER 64: http://bit.ly/1mi7c4C
  56. VARIABLES TO adjust:
  57.   *** MySQL's maximum memory usage is dangerously high ***
  58.  *** Add RAM before increasing MySQL buffer variables ***
  59.    query_cache_limit (> 1M, or use smaller result sets)
  60.    query_cache_size (> 64M)
  61.    join_buffer_size (> 8.0M, or always use indexes with joins)
  62.    table_open_cache (> 128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement