Skip to content

events_transactions_history

xiaoboluo768 edited this page Jun 8, 2020 · 2 revisions
  • events_transactions_history表包含每个线程最近的N个事务事件。 在server启动时,N的值会自动调整。 要显式设置N的大小,可以在server启动之前设置系统变量performance_schema_events_transactions_history_size的值。事务事件未执行完成之前不会添加到该表中。当有新的事务事件添加到该表时,如果该表已满,则会丢弃对应线程较旧的事务事件
  • events_transactions_history与events_transactions_current表结构相同
  • 允许使用TRUNCATE TABLE语句
  • 参考链接:https://dev.mysql.com/doc/refman/5.7/en/events-transactions-history-table.html

上一篇: events_transactions_current表 | 下一篇: events_transactions_history_long表

Clone this wiki locally