Skip to content

Commit

Permalink
Update statement-summary-tables.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored and ti-chi-bot committed Sep 24, 2021
1 parent 48173f3 commit d844978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statement-summary-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Statement Summary Tables

针对 SQL 性能相关的问题,MySQL 在 `performance_schema` 提供了 [statement summary tables](https://dev.mysql.com/doc/refman/5.6/en/statement-summary-tables.html),用来监控和统计 SQL。例如其中的一张表 `events_statements_summary_by_digest`,提供了丰富的字段,包括延迟、执行次数、扫描行数、全表扫描次数等,有助于用户定位 SQL 问题。

为此,从 4.0.0-rc.1 版本开始,TiDB 在 `information_schema` (_not_ `performance_schema`) 中提供与 `events_statements_summary_by_digest` 功能相似的系统表:
为此,从 4.0.0-rc.1 版本开始,TiDB 在 `information_schema`_而不是_ `performance_schema`中提供与 `events_statements_summary_by_digest` 功能相似的系统表:

- `statements_summary`
- `statements_summary_history`
Expand Down

0 comments on commit d844978

Please sign in to comment.