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
3988
January 26, 2011 02:59PM
1533
January 27, 2011 02:04PM
1525
January 27, 2011 02:35PM
1520
January 27, 2011 10:35PM
1605
January 27, 2011 10:59PM
1504
January 28, 2011 10:02AM
2051
January 28, 2011 01:38PM
1437
January 29, 2011 01:18AM
1385
January 30, 2011 07:20PM
1251
January 30, 2011 11:02PM
1441
January 31, 2011 01:22AM
1549
January 31, 2011 01:25AM
1392
February 01, 2011 12:38AM
Re: Query Takes Longer Each Time Its Run
1510
February 01, 2011 12:56AM
1457
February 01, 2011 01:23PM
1695
February 01, 2011 08:41PM
2200
February 03, 2011 02:04PM
1657
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.