25.12.7.3 events_transactions_history_longtable

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

性能模式将自动调整* N *的值,该值在服务器启动时自动调整。要显式设置 table 大小,请在服务器启动时设置performance_schema_events_transactions_history_long_size系统变量。

events_transactions_history_longtable 具有与events_transactions_current相同的列。参见第 25.12.7.1 节“ events_transactions_currenttable”

events_transactions_history_longtable 允许TRUNCATE TABLE。它删除行。

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

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