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
4086
January 26, 2011 02:59PM
1567
January 27, 2011 02:35PM
1648
January 27, 2011 10:59PM
2089
January 28, 2011 01:38PM
1427
January 30, 2011 07:20PM
1489
January 31, 2011 01:22AM
1583
January 31, 2011 01:25AM
1435
February 01, 2011 12:38AM
Re: Query Takes Longer Each Time Its Run
1542
February 01, 2011 12:56AM
1491
February 01, 2011 01:23PM
1727
February 01, 2011 08:41PM
2238
February 03, 2011 02:04PM
1692
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.