25.12.4.3 events_waits_history_longtable

events_waits_history_longtable 包含* N *所有线程中全局结束的最新 await 事件。await 事件在结束之前不会添加到 table 中。当 table 已满时,添加新行时,最旧的行将被丢弃,无论哪个线程在每一行中生成。

在服务器启动期间,性能架构会自动调整* N *的值。要显式设置 table 大小,请在服务器启动时设置performance_schema_events_waits_history_long_size系统变量。

events_waits_history_longtable 具有与events_waits_current相同的列。参见第 25.12.4.1 节“ events_waits_currenttable”

events_waits_history_longtable 允许TRUNCATE TABLE。它删除行。

有关三个 await 事件 table 之间的关系的更多信息,请参见第 25.9 节“当前和历史事件的性能架构 table”

有关配置是否收集 await 事件的信息,请参见第 25.12.4 节“性能架构 await 事件 table”