Bug #55821 | MySQL Hangs in state: statistics | ||
---|---|---|---|
Submitted: | 7 Aug 2010 15:44 | Modified: | 8 Aug 2010 12:43 |
Reporter: | Piotr S | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.0.45 | OS: | Linux (Fedora Core 7) |
Assigned to: | CPU Architecture: | Any | |
Tags: | For Update, hangs, SELECT, statistics state |
[7 Aug 2010 15:44]
Piotr S
[8 Aug 2010 7:25]
Valeriy Kravchuk
Please, check with a newer version, 5.0.91 (MySQL binaries if possible). In case of the same problem, please, send the results of: show table status like 'restaurant_dates'\G show innodb status\G
[8 Aug 2010 12:43]
Piotr S
Well - in my case it was the lock problem. When select for update selected none rows, I sometimes forget to rollback transaction, and another select was hanging.. Nevertheless - state "statistics" was so misleading, that I didn't dig through my code very deeply, despite the fact, that my first thought was "lock"... :)