Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When adding an index to an InnoDB table using algorithm=inplace, it is not possible to monitor the progress of the merge sort operation, which can take a great deal of time.
It would be nice if the "Progress" column of SHOW PROCESSLIST was updated with some information about how far along the merge sort has progressed. It might also be possible or desirable to make some progress information available by other means.
Attachments
Issue Links
- relates to
-
MDEV-29913 Assertion `thd->stmt_arena != thd->progress.arena' failed in thd_progress_init upon bulk load
-
- Closed
-
commit 8984bef2e431db42761d3f267b950293cfd864de
Author: Jan Lindström <jan.lindstrom@skysql.com>
Date: Mon Aug 18 10:52:59 2014 +0300
MDEV-6172: Monitor progress of ALTER TABLE ... ADD INDEX,ALGORITHM=INPLACE for InnoDB
Added thd_progress calls to row_merge_sort to give
some hint how merge sort progresses.