Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tuning-primer.sh
- -- MYSQL PERFORMANCE TUNING PRIMER --
- - By: Matthew Montgomery -
- MySQL Version 10.1.31-MariaDB x86_64
- Uptime = 0 days 23 hrs 3 min 12 sec
- Avg. qps = 0
- Total Questions = 481
- Threads Connected = 2
- Warning: Server has not been running for at least 48hrs.
- It may not be safe to use these recommendations
- To find out more information on how each of these
- runtime variables effects performance visit:
- http://dev.mysql.com/doc/refman/10.1/en/server-system-variables.html
- Visit http://www.mysql.com/products/enterprise/advisors.html
- for info about MySQL's Enterprise Monitoring and Advisory Service
- SLOW QUERIES
- The slow query log is NOT enabled.
- Current long_query_time = 10.000000 sec.
- You have 0 out of 502 that take longer than 10.000000 sec. to complete
- Your long_query_time seems to be fine
- BINARY UPDATE LOG
- The binary update log is enabled
- WORKER THREADS
- Current thread_cache_size = 15
- Current threads_cached = 0
- Current threads_per_sec = 0
- Historic threads_per_sec = 0
- Your thread_cache_size is fine
- MAX CONNECTIONS
- Current max_connections = 15
- Current threads_connected = 2
- Historic max_used_connections = 2
- The number of used connections is 13% of the configured maximum.
- Your max_connections variable seems to be fine.
- No InnoDB Support Enabled!
- MEMORY USAGE
- Max Memory Ever Allocated : 42.11 G
- Configured Max Per-thread Buffers : 457 M
- Configured Max Global Buffers : 42.05 G
- Configured Max Memory Limit : 42.50 G
- Physical Memory : 48.97 G
- Max memory limit seem to be within acceptable norms
- KEY BUFFER
- Current MyISAM index space = 117 K
- Current key_buffer_size = 32 M
- Key cache miss rate is 1 : 43
- Key buffer free ratio = 81 %
- Your key_buffer_size seems to be fine
- QUERY CACHE
- Query cache is supported but not enabled
- Perhaps you should set the query_cache_size
- SORT OPERATIONS
- Current sort_buffer_size = 2 M
- Current read_rnd_buffer_size = 256 K
- Sort buffer seems to be fine
- JOINS
- /root/tuning-primer.sh: line 402: export: `2097152': not a valid identifier
- Current join_buffer_size = 4.00 M
- You have had 2 queries where a join could not use an index properly
- join_buffer_size >= 4 M
- This is not advised
- You should enable "log-queries-not-using-indexes"
- Then look for non indexed joins in the slow query log.
- OPEN FILES LIMIT
- Current open_files_limit = 16364 files
- The open_files_limit should typically be set to at least 2x-3x
- that of table_cache if you have heavy MyISAM usage.
- Your open_files_limit value seems to be fine
- TABLE CACHE
- Current table_open_cache = 2048 tables
- Current table_definition_cache = 1024 tables
- You have a total of 190 tables
- You have 199 open tables.
- The table_cache value seems to be fine
- TEMP TABLES
- Current max_heap_table_size = 1.00 G
- Current tmp_table_size = 1.00 G
- Of 911 temp tables, 12% were created on disk
- Created disk tmp tables ratio seems fine
- TABLE SCANS
- Current read_buffer_size = 8 M
- Current table scan ratio = 394808370 : 1
- read_buffer_size seems to be fine
- TABLE LOCKING
- Current Lock Wait ratio = 0 : 688
- Your table locking seems to be fine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement