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
3948
January 26, 2011 02:59PM
1502
January 27, 2011 02:35PM
Re: Query Takes Longer Each Time Its Run
1494
January 27, 2011 10:35PM
1584
January 27, 2011 10:59PM
2033
January 28, 2011 01:38PM
1371
January 30, 2011 07:20PM
1421
January 31, 2011 01:22AM
1528
January 31, 2011 01:25AM
1374
February 01, 2011 12:38AM
1488
February 01, 2011 12:56AM
1439
February 01, 2011 01:23PM
1678
February 01, 2011 08:41PM
2176
February 03, 2011 02:04PM
1635
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.