linccce

Tuning Prime feedback

Apr 20th, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.06 KB | None | 0 0
  1. root@vps51:~# ./tuning-primer.sh
  2.  
  3.         -- MYSQL PERFORMANCE TUNING PRIMER --
  4.              - By: Matthew Montgomery -
  5.  
  6. MySQL Version 5.5.37 x86_64
  7.  
  8. Uptime = 0 days 0 hrs 4 min 11 sec
  9. Avg. qps = 976
  10. Total Questions = 245082
  11. Threads Connected = 1
  12.  
  13. Warning: Server has not been running for at least 48hrs.
  14. It may not be safe to use these recommendations
  15.  
  16. To find out more information on how each of these
  17. runtime variables effects performance visit:
  18. http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html
  19. Visit http://www.mysql.com/products/enterprise/advisors.html
  20. for info about MySQL's Enterprise Monitoring and Advisory Service
  21.  
  22. SLOW QUERIES
  23. The slow query log is NOT enabled.
  24. Current long_query_time = 10.000000 sec.
  25. You have 0 out of 245103 that take longer than 10.000000 sec. to complete
  26. Your long_query_time seems to be fine
  27.  
  28. BINARY UPDATE LOG
  29. The binary update log is NOT enabled.
  30. You will not be able to do point in time recovery
  31. See http://dev.mysql.com/doc/refman/5.5/en/point-in-time-recovery.html
  32.  
  33. WORKER THREADS
  34. Current thread_cache_size = 0
  35. Current threads_cached = 0
  36. Current threads_per_sec = 10
  37. Historic threads_per_sec = 3
  38. Threads created per/sec are overrunning threads cached
  39. You should raise thread_cache_size
  40.  
  41. MAX CONNECTIONS
  42. Current max_connections = 151
  43. Current threads_connected = 2
  44. Historic max_used_connections = 7
  45. The number of used connections is 4% of the configured maximum.
  46. You are using less than 10% of your configured max_connections.
  47. Lowering max_connections could help to avoid an over-allocation of memory
  48. See "MEMORY USAGE" section to make sure you are not over-allocating
  49.  
  50. INNODB STATUS
  51. ERROR 23 (HY000) at line 1: Out of resources when opening file '/tmp/#sql_67b1_0.MYI' (Errcode: 24)
  52. Current InnoDB index space = 234 M
  53. ./tuning-primer.sh: line 466: [: innodb_dataHR: integer expression expected
  54. ./tuning-primer.sh: line 472: [: innodb_dataHR: integer expression expected
  55. ./tuning-primer.sh: line 478: [: innodb_dataHR: integer expression expected
  56. ./tuning-primer.sh: line 485: export: `=innodb_dataHR': not a valid identifier
  57. Current InnoDB data space =  bytes
  58. Current InnoDB buffer pool free = 0 %
  59. Current innodb_buffer_pool_size = 128 M
  60. Depending on how much space your innodb indexes take up it may be safe
  61. to increase this value to up to 2 / 3 of total system memory
  62.  
  63. MEMORY USAGE
  64. Max Memory Ever Allocated : 171 M
  65. Configured Max Per-thread Buffers : 415 M
  66. Configured Max Global Buffers : 152 M
  67. Configured Max Memory Limit : 567 M
  68. Physical Memory : 6.00 G
  69. Max memory limit seem to be within acceptable norms
  70.  
  71. KEY BUFFER
  72. Current MyISAM index space = 233 M
  73. Current key_buffer_size = 8 M
  74. Key cache miss rate is 1 : 796
  75. Key buffer free ratio = 80 %
  76. Your key_buffer_size seems to be fine
  77.  
  78. QUERY CACHE
  79. Query cache is supported but not enabled
  80. Perhaps you should set the query_cache_size
  81.  
  82. SORT OPERATIONS
  83. Current sort_buffer_size = 2 M
  84. Current read_rnd_buffer_size = 256 K
  85. Sort buffer seems to be fine
  86.  
  87. JOINS
  88. Current join_buffer_size = 132.00 K
  89. You have had 0 queries where a join could not use an index properly
  90. Your joins seem to be using indexes properly
  91.  
  92. OPEN FILES LIMIT
  93. Current open_files_limit = 1024 files
  94. The open_files_limit should typically be set to at least 2x-3x
  95. that of table_cache if you have heavy MyISAM usage.
  96. Your open_files_limit value seems to be fine
  97.  
  98. TABLE CACHE
  99. Current table_open_cache = 400 tables
  100. Current table_definition_cache = 400 tables
  101. You have a total of 1725 tables
  102. You have 400 open tables.
  103. Current table_cache hit rate is 4%
  104. , while 100% of your table cache is in use
  105. You should probably increase your table_cache
  106. You should probably increase your table_definition_cache value.
  107.  
  108. TEMP TABLES
  109. Current max_heap_table_size = 16 M
  110. Current tmp_table_size = 16 M
  111. Of 296 temp tables, 17% were created on disk
  112. Created disk tmp tables ratio seems fine
  113.  
  114. TABLE SCANS
  115. Current read_buffer_size = 128 K
  116. Current table scan ratio = 222 : 1
  117. read_buffer_size seems to be fine
  118.  
  119. TABLE LOCKING
  120. Current Lock Wait ratio = 0 : 339175
  121. Your table locking seems to be fine
Advertisement
Add Comment
Please, Sign In to add comment