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.
Subject
Views
Written By
Posted
4272
January 26, 2011 02:59PM
1632
January 27, 2011 02:04PM
1627
January 27, 2011 02:35PM
1624
January 27, 2011 10:35PM
1703
January 27, 2011 10:59PM
1606
January 28, 2011 10:02AM
2139
January 28, 2011 01:38PM
1529
January 29, 2011 01:18AM
1485
January 30, 2011 07:20PM
1336
January 30, 2011 11:02PM
1545
January 31, 2011 01:22AM
1638
January 31, 2011 01:25AM
1483
February 01, 2011 12:38AM
Re: Query Takes Longer Each Time Its Run
1612
February 01, 2011 12:56AM
1546
February 01, 2011 01:23PM
1771
February 01, 2011 08:41PM
2303
February 03, 2011 02:04PM
1743
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.