MySQL Forums
Forum List  »  PHP

Query takes long time on 'statistics' state
Posted by: Pradeep Ganapathy
Date: July 27, 2015 06:03AM

Hi,

One of my query takes long time(more than 300 seconds) for executing simple query. and fails in statistics state.

It happens while concurrent execution of same query.

"select 1 from <table name> where id = <value> for update"

Even, i have 'optimizer_search_depth' config as 0 and buffer size has 14GB.

Options: ReplyQuote


Subject
Written By
Posted
Query takes long time on 'statistics' state
July 27, 2015 06:03AM


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.