-
Notifications
You must be signed in to change notification settings - Fork 111
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表
- 验证、测试、整理:罗小波
- QQ:309969177
- 提示:本系列文章的主体结构遵循Oracle MySQL 官方 5.7 手册中,关于information_schema、mysql schema、performance_schema、sys schema的章节结构体系,并额外添加了一些验证、测试数据。鉴于本人精力和能力有限,难免出现一些纰漏,欢迎大家踊跃指正!