Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- MYSQL PERFORMANCE TUNING PRIMER --
- - By: Matthew Montgomery -
- MySQL Version 5.1.63-0+squeeze1-log x86_64
- Uptime = 0 days 7 hrs 7 min 22 sec
- Avg. qps = 132
- Total Questions = 3386852
- Threads Connected = 165
- 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/5.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 enabled.
- Current long_query_time = 0.100000 sec.
- You have 63331 out of 3386879 that take longer than 0.100000 sec. to complete
- Your long_query_time seems to be fine
- BINARY UPDATE LOG
- The binary update log is NOT enabled.
- You will not be able to do point in time recovery
- See http://dev.mysql.com/doc/refman/5.1/en/point-in-time-recovery.html
- WORKER THREADS
- Current thread_cache_size = 612
- Current threads_cached = 290
- Current threads_per_sec = 0
- Historic threads_per_sec = 0
- Your thread_cache_size is fine
- MAX CONNECTIONS
- Current max_connections = 1500
- Current threads_connected = 164
- Historic max_used_connections = 454
- The number of used connections is 30% of the configured maximum.
- Your max_connections variable seems to be fine.
- INNODB STATUS
- Current InnoDB index space = 6.71 G
- Current InnoDB data space = 12.32 G
- Current InnoDB buffer pool free = 19 %
- Current innodb_buffer_pool_size = 12.79 G
- Depending on how much space your innodb indexes take up it may be safe
- to increase this value to up to 2 / 3 of total system memory
- MEMORY USAGE
- Max Memory Ever Allocated : 15.15 G
- Configured Max Per-thread Buffers : 7.69 G
- Configured Max Global Buffers : 12.83 G
- Configured Max Memory Limit : 20.52 G
- Physical Memory : 15.59 G
- Max memory limit exceeds 90% of physical memory
- KEY BUFFER
- Current MyISAM index space = 18 M
- Current key_buffer_size = 20 M
- Key cache miss rate is 1 : 667
- Key buffer free ratio = 71 %
- 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 = 1 M
- Sort buffer seems to be fine
- JOINS
- Current join_buffer_size = 1.00 M
- You have had 0 queries where a join could not use an index properly
- Your joins seem to be using indexes properly
- OPEN FILES LIMIT
- Current open_files_limit = 61510 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 = 30000 tables
- Current table_definition_cache = 256 tables
- You have a total of 209 tables
- You have 295 open tables.
- The table_cache value seems to be fine
- TEMP TABLES
- Current max_heap_table_size = 16 M
- Current tmp_table_size = 16 M
- Of 16790 temp tables, 0% were created on disk
- Created disk tmp tables ratio seems fine
- TABLE SCANS
- Current read_buffer_size = 1 M
- Current table scan ratio = 4 : 1
- read_buffer_size seems to be fine
- TABLE LOCKING
- Current Lock Wait ratio = 1 : 5115
- Your table locking seems to be fine
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement