Advertisement
Guest User

Untitled

a guest
Jun 5th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. tuning primer result
  2.  
  3.  
  4. -- MYSQL PERFORMANCE TUNING PRIMER --
  5. - By: Matthew Montgomery -
  6.  
  7. MySQL Version 5.5.36-cll x86_64
  8.  
  9. Uptime = 6 days 11 hrs 34 min 44 sec
  10. Avg. qps = 122
  11. Total Questions = 68808780
  12. Threads Connected = 12
  13.  
  14. Server has been running for over 48hrs.
  15. It should be safe to follow these recommendations
  16.  
  17. To find out more information on how each of these
  18. runtime variables effects performance visit:
  19. http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html
  20. Visit http://www.mysql.com/products/enterprise/advisors.html
  21. for info about MySQL's Enterprise Monitoring and Advisory Service
  22.  
  23. SLOW QUERIES
  24. The slow query log is NOT enabled.
  25. Current long_query_time = 10.000000 sec.
  26. You have 27500 out of 68809061 that take longer than 10.000000 sec. to complete
  27. Your long_query_time seems to be fine
  28.  
  29. BINARY UPDATE LOG
  30. The binary update log is NOT enabled.
  31. You will not be able to do point in time recovery
  32. See http://dev.mysql.com/doc/refman/5.5/en/point-in-time-recovery.html
  33.  
  34. WORKER THREADS
  35. Current thread_cache_size = 12
  36. Current threads_cached = 9
  37. Current threads_per_sec = 0
  38. Historic threads_per_sec = 0
  39. Your thread_cache_size is fine
  40.  
  41. MAX CONNECTIONS
  42. Current max_connections = 200
  43. Current threads_connected = 11
  44. Historic max_used_connections = 201
  45. The number of used connections is 100% of the configured maximum.
  46. You should raise max_connections
  47.  
  48. INNODB STATUS
  49. Current InnoDB index space = 381 M
  50. Current InnoDB data space = 300 M
  51. Current InnoDB buffer pool free = 0 %
  52. Current innodb_buffer_pool_size = 400 M
  53. Depending on how much space your innodb indexes take up it may be safe
  54. to increase this value to up to 2 / 3 of total system memory
  55.  
  56. MEMORY USAGE
  57. Max Memory Ever Allocated : 4.39 G
  58. Configured Max Per-thread Buffers : 3.63 G
  59. Configured Max Global Buffers : 758 M
  60. Configured Max Memory Limit : 4.37 G
  61. Physical Memory : 14.16 G
  62. Max memory limit seem to be within acceptable norms
  63.  
  64. KEY BUFFER
  65. Current MyISAM index space = 1.05 G
  66. Current key_buffer_size = 8 M
  67. Key cache miss rate is 1 : 20
  68. Key buffer free ratio = 80 %
  69. Your key_buffer_size seems to be fine
  70.  
  71. QUERY CACHE
  72. Query cache is enabled
  73. Current query_cache_size = 334 M
  74. Current query_cache_used = 183 M
  75. Current query_cache_limit = 256 M
  76. Current Query cache Memory fill ratio = 54.89 %
  77. Current query_cache_min_res_unit = 4 K
  78. MySQL won't cache query results that are larger than query_cache_limit in size
  79.  
  80. SORT OPERATIONS
  81. Current sort_buffer_size = 2 M
  82. Current read_rnd_buffer_size = 256 K
  83. Sort buffer seems to be fine
  84.  
  85. JOINS
  86. Current join_buffer_size = 16.00 M
  87. You have had 118697 queries where a join could not use an index properly
  88. You have had 127057 joins without keys that check for key usage after each row
  89. join_buffer_size >= 4 M
  90. This is not advised
  91. You should enable "log-queries-not-using-indexes"
  92. Then look for non indexed joins in the slow query log.
  93.  
  94. OPEN FILES LIMIT
  95. Current open_files_limit = 43762 files
  96. The open_files_limit should typically be set to at least 2x-3x
  97. that of table_cache if you have heavy MyISAM usage.
  98. Your open_files_limit value seems to be fine
  99.  
  100. TABLE CACHE
  101. Current table_open_cache = 512 tables
  102. Current table_definition_cache = 400 tables
  103. You have a total of 7754 tables
  104. You have 512 open tables.
  105. Current table_cache hit rate is 0%
  106. , while 100% of your table cache is in use
  107. You should probably increase your table_cache
  108. You should probably increase your table_definition_cache value.
  109.  
  110. TEMP TABLES
  111. Current max_heap_table_size = 1.00 G
  112. Current tmp_table_size = 1.00 G
  113. Of 2618612 temp tables, 32% were created on disk
  114. Perhaps you should increase your tmp_table_size and/or max_heap_table_size
  115. to reduce the number of disk-based temporary tables
  116. Note! BLOB and TEXT columns are not allow in memory tables.
  117. If you are using these columns raising these values might not impact your
  118. ratio of on disk temp tables.
  119.  
  120. TABLE SCANS
  121. Current read_buffer_size = 128 K
  122. Current table scan ratio = 2555 : 1
  123. read_buffer_size seems to be fine
  124.  
  125. TABLE LOCKING
  126. Current Lock Wait ratio = 1 : 667
  127. You may benefit from selective use of InnoDB.
  128. If you have long running SELECT's against MyISAM tables and perform
  129. frequent updates consider setting 'low_priority_updates=1'
  130. If you have a high concurrency of inserts on Dynamic row-length tables
  131. consider setting 'concurrent_insert=ALWAYS'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement