MySQL Forums
Forum List  »  Performance

Re: Query Takes Longer Each Time Its Run
Posted by: Rick James
Date: January 27, 2011 10:35PM

Getting slower is harder to explain than getting faster.

How much ram do you have?

Are your tables only MyISAM?
If so, then you are wasting 4GB of RAM for innodb_buffer_pool_size; set it to 0.

4G is awfully big for key_buffer_size, unless you have 16GB or more of RAM.

More discussion of those and other settings:
http://mysql.rjweb.org/doc.php/memory

Were these the same on the two machines?
SHOW VARIABLES LIKE '%buffer%';

Options: ReplyQuote


Subject
Views
Written By
Posted
3907
January 26, 2011 02:59PM
1489
January 27, 2011 02:35PM
Re: Query Takes Longer Each Time Its Run
1475
January 27, 2011 10:35PM
1563
January 27, 2011 10:59PM
2014
January 28, 2011 01:38PM
1360
January 30, 2011 07:20PM
1405
January 31, 2011 01:22AM
1512
January 31, 2011 01:25AM
1363
February 01, 2011 12:38AM
1473
February 01, 2011 12:56AM
1422
February 01, 2011 01:23PM
1661
February 01, 2011 08:41PM
2160
February 03, 2011 02:04PM
1618
February 15, 2011 09:24PM


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.