Re: Suddenly mysql server performance degraded
Posted by:
Rick James
Date: November 26, 2015 10:01PM
Turn on the slowlog, lower long_query_time to 2, wait a day, run pt-query-digest, then show us the worst couple of queries. Also provide SHOW CREATE TABLE and EXPLAIN SELECT.
> One of my long query taking time in state "storing result in query cache".
SHOW VARIABLES LIKE 'query%';
Decrease query_cache_size to 50M if it is bigger than that.
Decrease query_cache_limit to 2M if it is bigger than that.
Subject
Views
Written By
Posted
1725
November 05, 2015 12:26AM
738
November 05, 2015 11:41PM
Re: Suddenly mysql server performance degraded
1009
November 26, 2015 10:01PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.