MySQL Forums
Forum List  »  General

Re: Why is my entire database getting locked for a slow select query?
Posted by: Shawn Taylor
Date: August 25, 2010 02:46PM

Yes,

Sorry, you can't just jack those around like adding windshield washer to the reservoir.

See this post:

http://mysqldatabaseadministration.blogspot.com/2007/01/increase-innodblogfilesize-proper-way.html

Or google the option - innodb_log_file_size - lots of discussion around your errors and how to increase these proper.

At this point I have exhausted my skills. There are folks around the forumns that are much better though. Look through the performance or general forums for posts by Rick James/Peter Brawley/Laptop Alias.

They have a much stronger grasp of how to make the server perform more quickly.

Based on this post:

http://forums.mysql.com/read.php?24,367406,380248#msg-380248

I would turn off your query cache. Not sure why *exactly* but I know there are conditions that can arise that make it more harmful than beneficial.

Plus, you can always turn it back on.

Lastly, I noticed that from your second to third status you had an increase of 113 slow queries. Check the slow query log and identify those. Why are they slow? can they be optimized? Can you achieve the same result in a different way?

Good Luck,

Shawn

Options: ReplyQuote


Subject
Written By
Posted
Re: Why is my entire database getting locked for a slow select query?
August 25, 2010 02:46PM


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.