mysqld is alive
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -
MySQL Version 5.0.67-Max x86_64
/usr/bin/tuning-primer.sh: line 389: bc: command not found
/usr/bin/tuning-primer.sh: line 390: bc: command not found
/usr/bin/tuning-primer.sh: line 391: bc: command not found
/usr/bin/tuning-primer.sh: line 392: bc: command not found
/usr/bin/tuning-primer.sh: line 393: bc: command not found
/usr/bin/tuning-primer.sh: line 394: bc: command not found
Uptime = days hrs min sec
Avg. qps = 2
Total Questions = 276
Threads Connected = 1
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:
[url=http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html]MySQL :: MySQL 5.0 Reference Manual :: 5.1.3 Server System Variables[/url]
Visit [url=http://www.mysql.com/products/enterprise/advisors.html]MySQL :: MySQL Enterprise Advisors[/url]
for info about MySQL's Enterprise Monitoring and Advisory Service
SLOW QUERIES
The slow query log is NOT enabled.
Current long_query_time = 10 sec.
You have 0 out of 297 that take longer than 10 sec. to complete
Your long_query_time may be too high, I typically set this under 5 sec.
BINARY UPDATE LOG
The binary update log is NOT enabled.
You will not be able to do point in time recovery
See [url=http://dev.mysql.com/doc/refman/5.0/en/point-in-time-recovery.html]MySQL :: MySQL 5.0 Reference Manual :: 6.3 Point-in-Time Recovery[/url]
WORKER THREADS
Current thread_cache_size = 0
Current threads_cached = 0
Current threads_per_sec = 1
Historic threads_per_sec = 0
Your thread_cache_size is fine
MAX CONNECTIONS
Current max_connections = 100
Current threads_connected = 1
Historic max_used_connections = 2
The number of used connections is 2% of the configured maximum.
You are using less than 10% of your configured max_connections.
Lowering max_connections could help to avoid an over-allocation of memory
See "MEMORY USAGE" section to make sure you are not over-allocating
MEMORY USAGE
/usr/bin/tuning-primer.sh: line 1205: bc: command not found
/usr/bin/tuning-primer.sh: line 1206: bc: command not found
/usr/bin/tuning-primer.sh: line 1230: bc: command not found
/usr/bin/tuning-primer.sh: line 1233: bc: command not found
/usr/bin/tuning-primer.sh: line 1234: bc: command not found
/usr/bin/tuning-primer.sh: line 1236: bc: command not found
/usr/bin/tuning-primer.sh: line 1238: [: -gt: unary operator expected
/usr/bin/tuning-primer.sh: line 351: [: max_memoryHR: integer expression expecte d
/usr/bin/tuning-primer.sh: line 357: [: max_memoryHR: integer expression expecte d
/usr/bin/tuning-primer.sh: line 363: [: max_memoryHR: integer expression expecte d
/usr/bin/tuning-primer.sh: line 370: export: `=max_memoryHR': not a valid identi fier
Max Memory Ever Allocated : bytes
/usr/bin/tuning-primer.sh: line 351: [: per_thread_buffersHR: integer expression expected
/usr/bin/tuning-primer.sh: line 357: [: per_thread_buffersHR: integer expression expected
/usr/bin/tuning-primer.sh: line 363: [: per_thread_buffersHR: integer expression expected
/usr/bin/tuning-primer.sh: line 370: export: `=per_thread_buffersHR': not a vali d identifier
Configured Max Per-thread Buffers : bytes
/usr/bin/tuning-primer.sh: line 351: [: global_buffersHR: integer expression exp ected
/usr/bin/tuning-primer.sh: line 357: [: global_buffersHR: integer expression exp ected
/usr/bin/tuning-primer.sh: line 363: [: global_buffersHR: integer expression exp ected
/usr/bin/tuning-primer.sh: line 370: export: `=global_buffersHR': not a valid id entifier
Configured Max Global Buffers : bytes
/usr/bin/tuning-primer.sh: line 351: [: total_memoryHR: integer expression expec ted
/usr/bin/tuning-primer.sh: line 357: [: total_memoryHR: integer expression expec ted
/usr/bin/tuning-primer.sh: line 363: [: total_memoryHR: integer expression expec ted
/usr/bin/tuning-primer.sh: line 370: export: `=total_memoryHR': not a valid iden tifier
Configured Max Memory Limit : bytes
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Physical Memory : M
Max memory limit seem to be within acceptable norms
KEY BUFFER
12697 * 1024 / 16777216 * 100
/usr/bin/tuning-primer.sh: line 647: bc: command not found
/usr/bin/tuning-primer.sh: line 648: bc: command not found
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current MyISAM index space = M
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current key_buffer_size = M
Key cache miss rate is 1 : 74
Key buffer free ratio = %
/usr/bin/tuning-primer.sh: line 681: [: -le: unary operator expected
/usr/bin/tuning-primer.sh: line 685: [: -le: unary operator expected
/usr/bin/tuning-primer.sh: line 689: [: -le: unary operator expected
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
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current sort_buffer_size = K
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current read_rnd_buffer_size = K
Sort buffer seems to be fine
JOINS
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current join_buffer_size = K
You have had 1 queries where a join could not use an index properly
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.
If you are unable to optimize your queries you may want to increase your
join_buffer_size to accommodate larger joins in one pass.
Note! This script will still suggest raising the join_buffer_size when
ANY joins not using indexes are found.
OPEN FILES LIMIT
Current open_files_limit = 1024 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_cache value = 64 tables
You have a total of 832 tables
You have 64 open tables.
Current table_cache hit rate is 7%, while 100% of your table cache is in use
You should probably increase your table_cache
TEMP TABLES
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current max_heap_table_size = M
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current tmp_table_size = M
Of 167 temp tables, 26% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.
TABLE SCANS
/usr/bin/tuning-primer.sh: line 332: bc: command not found
Current read_buffer_size = K
Current table scan ratio = 67 : 1
read_buffer_size seems to be fine
TABLE LOCKING
Current Lock Wait ratio = 0 : 477
Your table locking seems to be fine
sxxxxxxx:~ #