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
3931
January 26, 2011 02:59PM
1495
January 27, 2011 02:35PM
Re: Query Takes Longer Each Time Its Run
1480
January 27, 2011 10:35PM
1572
January 27, 2011 10:59PM
2019
January 28, 2011 01:38PM
1365
January 30, 2011 07:20PM
1413
January 31, 2011 01:22AM
1517
January 31, 2011 01:25AM
1367
February 01, 2011 12:38AM
1479
February 01, 2011 12:56AM
1428
February 01, 2011 01:23PM
1671
February 01, 2011 08:41PM
2168
February 03, 2011 02:04PM
1624
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.