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
3902
January 26, 2011 02:59PM
1487
January 27, 2011 02:35PM
1561
January 27, 2011 10:59PM
2010
January 28, 2011 01:38PM
1358
January 30, 2011 07:20PM
1404
January 31, 2011 01:22AM
1508
January 31, 2011 01:25AM
1360
February 01, 2011 12:38AM
Re: Query Takes Longer Each Time Its Run
1471
February 01, 2011 12:56AM
1418
February 01, 2011 01:23PM
1659
February 01, 2011 08:41PM
2158
February 03, 2011 02:04PM
1615
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.