Bug #66463 | UPDATE LOW_PRIORITY blocks concurrent_inserts | ||
---|---|---|---|
Submitted: | 20 Aug 2012 12:58 | Modified: | 21 Aug 2012 6:57 |
Reporter: | Haluk Akin | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S4 (Feature request) |
Version: | 5.5.25a | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[20 Aug 2012 12:58]
Haluk Akin
[20 Aug 2012 17:40]
Valeriy Kravchuk
I'd say this is not a bug. Our manual, http://dev.mysql.com/doc/refman/5.5/en/update.html, clearly says: "With the LOW_PRIORITY keyword, execution of the UPDATE is delayed until no other clients are *reading* from the table." (highlight is mine) INSERT does NOT read from the table formally (unlike SELECT), so I'd expect LOW_PRIORITY to not influence it.
[20 Aug 2012 22:00]
Haluk Akin
Thank you. Reading the section you cited, I understand this is not a bug. If it's okay, I'm updating this ticket as a "feature request". If UPDATE LOW_PRIORITY could allow INSERTs and SELECTs to work concurrently when concurrent insert is enabled, this would provide more flexibility for MyISAM tables. In this new scenario, UPDATEs can resume when all INSERTs and SELECTs are out of the queue.
[21 Aug 2012 6:57]
Valeriy Kravchuk
IMHO this feature can make sense in some cases.