Bug #53121 | INSERT and unindexed SELECT on same table deadlock even with low LIMIT | ||
---|---|---|---|
Submitted: | 23 Apr 2010 16:32 | Modified: | 23 May 2010 18:17 |
Reporter: | Chris Hennick | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 5.0.26 | OS: | Linux (OpenSUSE) |
Assigned to: | CPU Architecture: | Any | |
Tags: | deadlock, INDEX, performance |
[23 Apr 2010 16:32]
Chris Hennick
[23 Apr 2010 17:13]
Valeriy Kravchuk
Why do you think this is a bug? The fact that MyISAM uses table-level locks is documented. Adding index "temporary" could be a nice feature to have in some rare cases like this, but optimizer can not replace DBA in general. The fact that it is not smart enough to create index that DBA had not added (for some unknown reason) is not a bug by itself.
[23 Apr 2010 17:48]
Chris Hennick
@Valerie: Because shouldn't either the script's queries or the select be allowed to keep running, one waiting on the other? In this case, *neither* was making any noticeable progress. That's what I call a bug.
[23 Apr 2010 18:17]
Valeriy Kravchuk
Then, please, send the results of show full processlist; at the moment when you see this problem. It would be also nice to upgrade to 5.0.90, and 5.0.26 is ages old version. The bug, if any, can not be fixed in old version anyway.
[23 May 2010 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".