sys模式进度报告
以下sys
架构视图为长期运行的事务提供进度报告:
processlist session x$processlist x$session
假设启用了必需的工具和使用者progress
,这些视图的列将显示支持进度报告的阶段已完成工作的百分比。
阶段进度报告要求events_stages_current
启用使用者以及需要进度信息的工具。这些阶段的工具当前支持进度报告:
stage/sql/Copying to tmp table stage/innodb/alter table (end) stage/innodb/alter table (flush) stage/innodb/alter table (insert) stage/innodb/alter table (log apply index) stage/innodb/alter table (log apply table) stage/innodb/alter table (merge sort) stage/innodb/alter table (read PK and internal sort) stage/innodb/buffer pool load
对于不支持估算和完成的工作报告的阶段,或者如果未启用所需的工具或使用者,则该progress
列为NULL
。