Skip to content

Commit 0e90fa7

Browse files
authored
mysql-schema: add information about several missing system tables (#20409) (#20445)
1 parent 7d3e2b3 commit 0e90fa7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

mysql-schema.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ Currently, the `help_topic` is NULL.
3434
- `stats_extended`: extended statistics, such as the order correlation between columns
3535
- `stats_feedback`: the query feedback of statistics
3636
- `stats_fm_sketch`: the FMSketch distribution of the histogram of the statistics column
37+
- `stats_table_locked`: information about the locked statistics
38+
- `stats_meta_history`: the meta information in the historical statistics
39+
- `stats_history`: the other information in the historical statistics
3740
- `analyze_options`: the default `analyze` options for each table
3841
- `column_stats_usage`: the usage of column statistics
3942
- `schema_index_usage`: the usage of indexes
@@ -44,6 +47,11 @@ Currently, the `help_topic` is NULL.
4447
- `bind_info`: the binding information of execution plans
4548
- `capture_plan_baselines_blacklist`: the blocklist for the automatic binding of the execution plan
4649

50+
## System tables related to PLAN REPLAYER
51+
52+
- `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
53+
- `plan_replayer_task`: the results of [`PLAN REPLAYER CAPTURE`](https://docs.pingcap.com/tidb/stable/sql-plan-replayer#use-plan-replayer-capture) tasks
54+
4755
## GC worker system tables
4856

4957
- `gc_delete_range`: the KV range to be deleted
@@ -74,5 +82,6 @@ Currently, the `help_topic` is NULL.
7482
- `expr_pushdown_blacklist`: the blocklist for expression pushdown
7583
- `opt_rule_blacklist`: the blocklist for logical optimization rules
7684
- `table_cache_meta`: the metadata of cached tables
85+
- `advisory_locks`: information related to [Locking functions](/functions-and-operators/locking-functions.md)
7786

7887
</CustomContent>

0 commit comments

Comments
 (0)