MySQL Forums
Forum List  »  Performance

Re: Slow select queries after update
Posted by: Geir Øyvind Vælidalo
Date: August 23, 2012 01:07AM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
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.