Guest User

tuning-primer error with MariaDB

a guest
Sep 15th, 2015
74
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- MYSQL PERFORMANCE TUNING PRIMER --
  2. - By: Matthew Montgomery -
  3.  
  4. MySQL Version 10.0.21-MariaDB-log amd64
  5.  
  6. Uptime = 4 days 23 hrs 8 min 8 sec
  7. Avg. qps = 12
  8. Total Questions = 5271536
  9. Threads Connected = 3
  10.  
  11. Server has been running for over 48hrs.
  12. It should be safe to follow 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/10.0/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 = 10.000000 sec.
  23. You have 0 out of 5271557 that take longer than 10.000000 sec. to complete
  24. [: 0.00000000000000000000: bad number
  25. Your long_query_time seems to be fine
  26.  
  27. BINARY UPDATE LOG
  28. The binary update log is enabled
  29. Binlog sync is not enabled, you could loose binlog records during a server crash
  30.  
  31. WORKER THREADS
  32. Current thread_cache_size = 8
  33. Current threads_cached = 6
  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 = 250
  40. Current threads_connected = 3
  41. Historic max_used_connections = 10
  42. The number of used connections is 4% 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. No InnoDB Support Enabled!
  48.  
  49. MEMORY USAGE
  50. Max Memory Ever Allocated : 3.57 G
  51. Configured Max Per-thread Buffers : 3.73 G
  52. Configured Max Global Buffers : 3.42 G
  53. Configured Max Memory Limit : 7.16 G
  54. Physical Memory : 8.00 G
  55. Max memory limit seem to be within acceptable norms
  56.  
  57. KEY BUFFER
  58. Current MyISAM index space = 14 M
  59. Current key_buffer_size = 384 M
  60. Key cache miss rate is 1 : 7256
  61. Key buffer free ratio = 79 %
  62. Your key_buffer_size seems to be fine
  63.  
  64. QUERY CACHE
  65. Query cache is enabled
  66. Current query_cache_size = 32 M
  67. Current query_cache_used = 17 M
  68. Current query_cache_limit = 512 K
  69. Current Query cache Memory fill ratio = 53.15 %
  70. Current query_cache_min_res_unit = 4 K
  71. Query Cache is 30 % fragmented
  72. Run "FLUSH QUERY CACHE" periodically to defragment the query cache memory
  73. If you have many small queries lower 'query_cache_min_res_unit' to reduce fragmentation.
  74. MySQL won't cache query results that are larger than query_cache_limit in size
  75.  
  76. SORT OPERATIONS
  77. Current sort_buffer_size = 4 M
  78. Current read_rnd_buffer_size = 8 M
  79. Sort buffer seems to be fine
  80.  
  81. JOINS
  82. export: 2097152: bad variable name
RAW Paste Data