Re: Slow select queries after update
Aftab Khan Wrote:
-------------------------------------------------------
> Do you have query_cache enabled? When table
> content changes (e.g. update, insert, delete), all
> cached queries that use the table become invalid
> and are removed from the cache.
>
> You can verify, if query_cache is enabled. Execute
> following commands using MySQL client tool:
> SELECT @@GLOBAL.query_cache_type,
> @@GLOBAL.query_cache_size;
Thanks Aftab! This explains everything. The cache is on and there are really too many selects for this to work as fast as the customer wants when then cache is flushed.
I will have to rewrite the page in order to minimize the number of queries.
Thanks again!
Best regards,
Geir
Subject
Views
Written By
Posted
2824
August 13, 2012 02:37AM
1404
August 13, 2012 03:11AM
1338
August 19, 2012 09:32PM
Re: Slow select queries after update
1496
August 23, 2012 01:07AM
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.