ich würde gerne mein MySQL Server checken, und ggf. optimieren.
Derzeit besteht kein Performanceproblem.
Intel Xeon W3530
500GB SATA (RAID1)
# Disabling symbolic-links is recommended to prevent assorted security risks
Tuning Primer Script:
MySQL Version 5;1;69 x86_64
Avg. qps = 8
Threads Connected = 2
The slow query log is NOT enabled.
Current long_query_time = 10;000000 sec.
You have 19 out of 9721049 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 NOT enabled.
You will not be able to do point in time recovery
Current thread_cache_size = 0
Current threads_cached = 0
Current threads_per_sec = 3
Historic threads_per_sec = 0
Threads created per/sec are overrunning threads cached
You should raise thread_cache_size
Current max_connections = 151
Current threads_connected = 2
Historic max_used_connections = 12
The number of used connections is 7% 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
Current InnoDB index space = 6 M
Current InnoDB data space = 5 M
Current InnoDB buffer pool free = 0 %
Current innodb_buffer_pool_size = 2 M
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
Max Memory Ever Allocated : 43 M
Configured Max Per-thread Buffers : 415 M
Configured Max Global Buffers : 10 M
Configured Max Memory Limit : 426 M
Physical Memory : 8;00 G
Max memory limit seem to be within acceptable norms
Current MyISAM index space = 40 M
Current key_buffer_size = 7 M
Key cache miss rate is 1 : 1234
Key buffer free ratio = 81 %
Your key_buffer_size seems to be fine
Query cache is supported but not enabled
Perhaps you should set the query_cache_size
Current sort_buffer_size = 2 M
Current read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
Current join_buffer_size = 132;00 K
You have had 2089 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
Current table_open_cache = 64 tables
Current table_definition_cache = 256 tables
You have a total of 644 tables
You have 64 open tables.
Current table_cache hit rate is 0%
, while 100% of your table cache is in use
You should probably increase your table_cache
You should probably increase your table_definition_cache value.
Current max_heap_table_size = 16 M
Current tmp_table_size = 16 M
Of 729563 temp tables, 22% were created on disk
Created disk tmp tables ratio seems fine
Current read_buffer_size = 128 K
Current table scan ratio = 52 : 1
read_buffer_size seems to be fine
Current Lock Wait ratio = 1 : 8151
Your table locking seems to be fine
Sind die vorgeschlagenen Änderungen sinnvoll?