|
MDEV-16329 did not replace the InnoDB internal table rebuild. In MySQL 5.7 there is a test innodb.alter_table_stage_progress that would execute the following query:
SELECT
|
event_name,
|
work_completed > 0,
|
work_estimated > 0,
|
work_completed <= work_estimated
|
FROM performance_schema.events_stages_history
|
WHERE event_name LIKE 'stage/innodb/alter table%'
|
ORDER BY 1;
|
This query would fail in MariaDB because there are no columns work_completed or work_estimated in the performance_schema.event_stages_history.
There is also https://mariadb.com/kb/en/progress-reporting/ which might be worth supporting.
|