After that from forum I got to know mysqltuner does not support mysql 5.5 any more...
I'm using tuning-primer.sh which says the following-
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -
MySQL Version 5.5.36-cll x86_64
Uptime = 0 days 21 hrs 33 min 51 sec
Avg. qps = 84
Total Questions = 6550459
Threads Connected = 35
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.5/en/server-system-variables.html]MySQL :: MySQL 5.5 Reference Manual :: 5.1.4 Server System Variables[/url]
for info about MySQL's Enterprise Monitoring and Advisory Service
The slow query log is enabled.
Current long_query_time = 10.000000 sec.
You have 40963 out of 6550815 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
See [url=http://dev.mysql.com/doc/refman/5.5/en/point-in-time-recovery.html]MySQL :: MySQL 5.5 Reference Manual :: 7.5 Point-in-Time (Incremental) Recovery Using the Binary Log[/url]
Current thread_cache_size = 6
Current threads_cached = 0
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine
Current max_connections = 150
Current threads_connected = 37
Historic max_used_connections = 102
The number of used connections is 68% of the configured maximum.
Your max_connections variable seems to be fine.
Current InnoDB index space = 266 M
Current InnoDB data space = 768 M
Current InnoDB buffer pool free = 0 %
Current innodb_buffer_pool_size = 64 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 : 661 M
Configured Max Per-thread Buffers : 675 M
Configured Max Global Buffers : 202 M
Configured Max Memory Limit : 877 M
Physical Memory : 15.57 G
Max memory limit seem to be within acceptable norms
Current MyISAM index space = 3.14 G
Current key_buffer_size = 96 M
Key cache miss rate is 1 : 167
Key buffer free ratio = 66 %
Your key_buffer_size seems to be fine
Query cache is enabled
Current query_cache_size = 32 M
Current query_cache_used = 19 M
Current query_cache_limit = 2 M
Current Query cache Memory fill ratio = 60.88 %
Current query_cache_min_res_unit = 4 K
MySQL won't cache query results that are larger than query_cache_limit in size
Current sort_buffer_size = 2 M
Current read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
Current join_buffer_size = 1.00 M
You have had 4910 queries where a join could not use an index properly
You have had 1 joins without keys that check for key usage after each row
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 = 8192 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 = 1024 tables
Current table_definition_cache = 800 tables
You have a total of 14234 tables
You have 1024 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 = 32 M
Current tmp_table_size = 32 M
Of 263175 temp tables, 24% were created on disk
Created disk tmp tables ratio seems fine
Current read_buffer_size = 1 M
Current table scan ratio = 659 : 1
read_buffer_size seems to be fine
Current Lock Wait ratio = 1 : 150
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
If you have a high concurrency of inserts on Dynamic row-length tables
consider setting 'concurrent_insert=ALWAYS'.
One time I increased the value of table cache and set slow query log. After that I optimize tables...that's it.
Please update asap, since server becomes unstable.
I'm using centos 6.4, Xeon 8 cores with 16 GB ram.
Even, I tried default mysql values but it did not work...
Waiting for your revert,