Skip to content

Commit c653afb

Browse files
authored
mysql-schema: add information about several missing system tables (#20409) (#20447)
1 parent 5373f7e commit c653afb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

mysql-schema/mysql-schema.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ Currently, the `help_topic` is NULL.
4747
- `stats_extended`: extended statistics, such as the order correlation between columns
4848
- `stats_feedback`: the query feedback of statistics
4949
- `stats_fm_sketch`: the FMSketch distribution of the histogram of the statistics column
50+
- `stats_table_locked`: information about the locked statistics
51+
- `stats_meta_history`: the meta information in the historical statistics
52+
- `stats_history`: the other information in the historical statistics
5053
- `analyze_options`: the default `analyze` options for each table
5154
- `column_stats_usage`: the usage of column statistics
5255
- `analyze_jobs`: the ongoing statistics collection tasks and the history task records within the last 7 days
@@ -56,6 +59,11 @@ Currently, the `help_topic` is NULL.
5659
- `bind_info`: the binding information of execution plans
5760
- `capture_plan_baselines_blacklist`: the blocklist for the automatic binding of the execution plan
5861

62+
## System tables related to PLAN REPLAYER
63+
64+
- `plan_replayer_status`: the [`PLAN REPLAYER CAPTURE`](https://docs.pingcap.com/tidb/stable/sql-plan-replayer#use-plan-replayer-capture) tasks registered by the user
65+
- `plan_replayer_task`: the results of [`PLAN REPLAYER CAPTURE`](https://docs.pingcap.com/tidb/stable/sql-plan-replayer#use-plan-replayer-capture) tasks
66+
5967
## GC worker system tables
6068

6169
> **Note:**
@@ -117,6 +125,7 @@ Currently, the `help_topic` is NULL.
117125
- `opt_rule_blacklist`: the blocklist for logical optimization rules
118126
- `tidb_import_jobs`: the job information of [`IMPORT INTO`](/sql-statements/sql-statement-import-into.md)
119127
- `tidb_timers`: the metadata of internal timers
128+
- `advisory_locks`: information related to [Locking functions](/functions-and-operators/locking-functions.md)
120129

121130
</CustomContent>
122131

0 commit comments

Comments
 (0)