Bug #42243 | LOAD DATA CONCURRENT INFILE locks table even when concurrent_insert = 2 | ||
---|---|---|---|
Submitted: | 21 Jan 2009 15:30 | Modified: | 13 Feb 2009 12:25 |
Reporter: | Bogdan Kecman | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Locking | Severity: | S2 (Serious) |
Version: | 5.1.30 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | regression |
[21 Jan 2009 15:30]
Bogdan Kecman
[6 Feb 2009 13:35]
Sergey Vojtovich
Likely a duplicate of BUG#37282.
[13 Feb 2009 12:25]
Sergei Golubchik
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php The manual is very clear about it: " concurrent_insert *Value* *Description* 0 Off 1 (Default) Enables concurrent insert for `MyISAM' tables that don't have holes 2 Enables concurrent inserts for all `MyISAM' tables, even those that have holes. For a table with a hole, new rows are inserted at the end of the table if it is in use by another thread. Otherwise, MySQL acquires a normal write lock and inserts the row into the hole. " It says that if insert has started when the table was in use, it'll be executed as concurrent insert, otherwise - as a normal blocking insert.