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
3881
January 26, 2011 02:59PM
1481
January 27, 2011 02:35PM
Re: Query Takes Longer Each Time Its Run
1465
January 27, 2011 10:35PM
1552
January 27, 2011 10:59PM
2000
January 28, 2011 01:38PM
1347
January 30, 2011 07:20PM
1390
January 31, 2011 01:22AM
1500
January 31, 2011 01:25AM
1351
February 01, 2011 12:38AM
1467
February 01, 2011 12:56AM
1414
February 01, 2011 01:23PM
1651
February 01, 2011 08:41PM
2141
February 03, 2011 02:04PM
1609
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.