Advertisement
McFuzz

Untitled

Aug 22nd, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. -- MYSQL PERFORMANCE TUNING PRIMER --
  2. - By: Matthew Montgomery -
  3.  
  4. MySQL Version 5.6.19-67.0-log x86_64
  5.  
  6. Uptime = 0 days 0 hrs 16 min 32 sec
  7. Avg. qps = 0
  8. Total Questions = 208
  9. Threads Connected = 1
  10.  
  11. Warning: Server has not been running for at least 48hrs.
  12. It may not be safe to use these recommendations
  13.  
  14. To find out more information on how each of these
  15. runtime variables effects performance visit:
  16. http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html
  17. Visit http://www.mysql.com/products/enterprise/advisors.html
  18. for info about MySQL's Enterprise Monitoring and Advisory Service
  19.  
  20. SLOW QUERIES
  21. The slow query log is NOT enabled.
  22. Current long_query_time = 60.000000 sec.
  23. You have 17 out of 229 that take longer than 60.000000 sec. to complete
  24. Your long_query_time seems to be fine
  25.  
  26. BINARY UPDATE LOG
  27. The binary update log is NOT enabled.
  28. You will not be able to do point in time recovery
  29. See http://dev.mysql.com/doc/refman/5.6/en/point-in-time-recovery.html
  30.  
  31. WORKER THREADS
  32. Current thread_cache_size = 20
  33. Current threads_cached = 0
  34. Current threads_per_sec = 0
  35. Historic threads_per_sec = 0
  36. Your thread_cache_size is fine
  37.  
  38. MAX CONNECTIONS
  39. Current max_connections = 151
  40. Current threads_connected = 1
  41. Historic max_used_connections = 1
  42. The number of used connections is 0% of the configured maximum.
  43. You are using less than 10% of your configured max_connections.
  44. Lowering max_connections could help to avoid an over-allocation of memory
  45. See "MEMORY USAGE" section to make sure you are not over-allocating
  46.  
  47. INNODB STATUS
  48. Current InnoDB index space = 7.04 G
  49. Current InnoDB data space = 8.09 G
  50. Current InnoDB buffer pool free = 99 %
  51. Current innodb_buffer_pool_size = 4.00 G
  52. Depending on how much space your innodb indexes take up it may be safe
  53. to increase this value to up to 2 / 3 of total system memory
  54.  
  55. MEMORY USAGE
  56. Max Memory Ever Allocated : 5.07 G
  57. Configured Max Per-thread Buffers : 29.59 G
  58. Configured Max Global Buffers : 4.88 G
  59. Configured Max Memory Limit : 34.47 G
  60. Physical Memory : 15.67 G
  61.  
  62. Max memory limit exceeds 90% of physical memory
  63.  
  64. KEY BUFFER
  65. No key reads?!
  66. Seriously look into using some indexes
  67. Current MyISAM index space = 1.81 G
  68. Current key_buffer_size = 128 M
  69. Key cache miss rate is 1 : 0
  70. Key buffer free ratio = 81 %
  71. Your key_buffer_size seems to be fine
  72.  
  73. QUERY CACHE
  74. Query cache is enabled
  75. Current query_cache_size = 512 M
  76. Current query_cache_used = 17 K
  77. Current query_cache_limit = 256 M
  78. Current Query cache Memory fill ratio = 0 %
  79. Current query_cache_min_res_unit = 4 K
  80. Your query_cache_size seems to be too high.
  81. Perhaps you can use these resources elsewhere
  82. MySQL won't cache query results that are larger than query_cache_limit in size
  83.  
  84. SORT OPERATIONS
  85. Current sort_buffer_size = 256 K
  86. Current read_rnd_buffer_size = 256 K
  87. Sort buffer seems to be fine
  88.  
  89. JOINS
  90. Current join_buffer_size = 192.00 M
  91. You have had 0 queries where a join could not use an index properly
  92. Your joins seem to be using indexes properly
  93. join_buffer_size >= 4 M
  94. This is not advised
  95.  
  96. OPEN FILES LIMIT
  97. Current open_files_limit = 20162 files
  98. The open_files_limit should typically be set to at least 2x-3x
  99. that of table_cache if you have heavy MyISAM usage.
  100. Your open_files_limit value seems to be fine
  101.  
  102. TABLE CACHE
  103. Current table_open_cache = 10000 tables
  104. Current table_definition_cache = 2000 tables
  105. You have a total of 238 tables
  106. You have 238 open tables.
  107. The table_cache value seems to be fine
  108.  
  109. TEMP TABLES
  110. Current max_heap_table_size = 1.00 G
  111. Current tmp_table_size = 1.00 G
  112. Of 749 temp tables, 11% were created on disk
  113. Created disk tmp tables ratio seems fine
  114.  
  115. TABLE SCANS
  116. Current read_buffer_size = 8 M
  117. Current table scan ratio = 27 : 1
  118. read_buffer_size seems to be fine
  119.  
  120. TABLE LOCKING
  121. Current Lock Wait ratio = 0 : 484
  122. Your table locking seems to be fine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement