Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
Description
ALTER TABLE in InnoDB is single-threaded, except for the special case ADD FULLTEXT INDEX, which creates additional threads to create the partitioned inverted index in shorter time.
We should refactor ADD FULLTEXT INDEX to make use of the MDEV-16264 work queue and make ADD INDEX use of the background threads as well. To avoid disparity with smaller items in the work queue, the work should be split into smaller items, such as "merge sort 2 blocks" or "copy a sorted block to index pages".
Attachments
Issue Links
- duplicates
-
MDEV-18508 create index cannot be done in parallel
- Closed
- is blocked by
-
MDEV-16264 Implement a common work queue for InnoDB background tasks
- Closed
- relates to
-
MDEV-26740 Inplace alter rebuild increases file size
- Closed
-
MDEV-35170 Merge applicable changes from InnoDB 8.0.40
- Closed
-
MDEV-5171 Add support for --innodb-optimize-keys to mysqldump.
- Closed
-
MDEV-11675 Lag Free Alter On Slave
- Closed
-
MDEV-16223 Background ADD INDEX
- Closed
-
MDEV-24621 In bulk insert, pre-sort and build indexes one page at a time
- Closed
-
MDEV-32174 ROW_FORMAT=COMPRESSED table corruption due to ROLLBACK
- In Testing