MySQL Forums
Forum List  »  Performance

Re: Query Takes Longer Each Time Its Run
Posted by: Rick James
Date: February 01, 2011 12:56AM

lease provide
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
and surround them with [ code ] and [ / code ]

I hope you did not have this on your 16GB machine:
innodb_buffer_pool_size = 16G

The rest of the VARIABLES are the same?
Especially
sync_binlog
innodb_flush_log_at_trx_commit = 0
innodb_flush_method = O_DIRECT

When you have LIMIT, the value in "Filtered" goes wonky. Seems to be 100 * (# rows in table) / (limit value). Do you have 15M rows in profile_thumbs_name?

I have another thought, but I need to know which engine you are using and the table sizes.

Options: ReplyQuote


Subject
Views
Written By
Posted
3854
January 26, 2011 02:59PM
1463
January 27, 2011 02:35PM
1545
January 27, 2011 10:59PM
1987
January 28, 2011 01:38PM
1336
January 30, 2011 07:20PM
1377
January 31, 2011 01:22AM
1493
January 31, 2011 01:25AM
1344
February 01, 2011 12:38AM
Re: Query Takes Longer Each Time Its Run
1458
February 01, 2011 12:56AM
1404
February 01, 2011 01:23PM
1640
February 01, 2011 08:41PM
2097
February 03, 2011 02:04PM
1597
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.