MySQL Forums :: Performance :: Recent Upgrade from MySQL 5.1 to 5.5


Advanced Search

Re: Recent Upgrade from MySQL 5.1 to 5.5
Posted by: Rick James ()
Date: December 12, 2016 02:08PM

One setting that can cause a performance degradation is query_cache_size. The bigger it is, the more time is spent pruning the QC.

Please provide these; I will dig deaper:
SHOW VARIABLES;
SHOW GLOBAL STATUS;

In general, hardware is not the way to improve MySQL. And rarely is tuning that useful (at least after getting a few things right). If you are having performance, problems, set long_query_time=1, turn on the slowlog, wait a day, then use one of these on the slowlog file:
mysqldumpslow -s t
pt-query-digest
Then come here for help in the first few queries.

In the long run, you must go to InnoDB and 5.7 -- each of those is _probably_ more useful than the hardware upgrade you did.

What filesystem (xfs, zfs, ext3, etc) is on the old/new machines?

Options: ReplyQuote


Subject Views Written By Posted
Recent Upgrade from MySQL 5.1 to 5.5 295 Alex Titley 12/07/2016 10:22AM
Re: Recent Upgrade from MySQL 5.1 to 5.5 173 Edwin Desouza 12/07/2016 08:47PM
Re: Recent Upgrade from MySQL 5.1 to 5.5 140 Alex Titley 12/08/2016 05:07AM
Re: Recent Upgrade from MySQL 5.1 to 5.5 147 Rick James 12/12/2016 02:08PM
Re: Recent Upgrade from MySQL 5.1 to 5.5 186 Alex Titley 12/14/2016 07:27AM
Re: Recent Upgrade from MySQL 5.1 to 5.5 199 Peter Brawley 12/14/2016 08:56AM


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.