Bug #14127 | Large deletes on large table lock queries on unrelated tables | ||
---|---|---|---|
Submitted: | 19 Oct 2005 1:40 | Modified: | 30 Nov 2005 13:16 |
Reporter: | Chip Yamasaki | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.0.18-standard-log | OS: | Linux (RHEL3 - 2.4.21-20.ELsmp) |
Assigned to: | CPU Architecture: | Any |
[19 Oct 2005 1:40]
Chip Yamasaki
[19 Oct 2005 11:35]
Valeriy Kravchuk
Thank you for a problem report. Do you have FOREIGN keys in those other tables referencing this one? Can you, please, send the results of SHOW PROCESSLIST statement that illustrates your description. You my.cnf content and hardware description may be useful too.
[19 Oct 2005 12:35]
Chip Yamasaki
There are no foreign keys in this or other tables. The processlist, my.cnf, and hardware info are on their way.
[24 Oct 2005 12:34]
Valeriy Kravchuk
Please, note the additional information I asked you to provide in the http://bugs.mysql.com/bug.php?id=14070. You may switch this issue back to open then. The only thing I can recommend you on this problem now is to try long-waited 4.1.15 version now available.
[25 Oct 2005 16:59]
Chip Yamasaki
I believe part of the problem with this original issue is that access to the key_buffer in 4.0 was serialized. That appears to be the reason why the other queries were entering the "statistics" state when the original query entered the "end" state. One question would be why the original query stayed in the "end" state so long. I believe I read somewhere that flushing of dirty pages to disk could occur in less-than-optimal write sizes under certain conditions, but I could be wron about that. In any case, this is no longer an issue for me, although I'm sure it remains for others. I have a bigger issue now in 14070, in which the query never ends at all. I'll provide more data on that one shortly.
[30 Oct 2005 12:35]
Valeriy Kravchuk
In case you will be still interested in pinpointing this possible bug in 4.0.x, please, try to repeat it on 4.0.26. We need a repeatable test case that allows to get this delete being in the "end" state for a long time.
[1 Dec 2005 0: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".