Skip to content

Commit

Permalink
mysql-schema: add information about several missing system tables (pi…
Browse files Browse the repository at this point in the history
  • Loading branch information
time-and-fate authored Mar 4, 2025
1 parent aaa1a2d commit db54503
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mysql-schema/mysql-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ Currently, the `help_topic` is NULL.
- `stats_extended`: extended statistics, such as the order correlation between columns
- `stats_feedback`: the query feedback of statistics
- `stats_fm_sketch`: the FMSketch distribution of the histogram of the statistics column
- `stats_table_locked`: information about the locked statistics
- `stats_meta_history`: the meta information in the historical statistics
- `stats_history`: the other information in the historical statistics
- `analyze_options`: the default `analyze` options for each table
- `column_stats_usage`: the usage of column statistics
- `analyze_jobs`: the ongoing statistics collection tasks and the history task records within the last 7 days
Expand All @@ -57,6 +60,11 @@ Currently, the `help_topic` is NULL.
- `bind_info`: the binding information of execution plans
- `capture_plan_baselines_blacklist`: the blocklist for the automatic binding of the execution plan

## System tables related to PLAN REPLAYER

- `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
- `plan_replayer_task`: the results of [`PLAN REPLAYER CAPTURE`](https://docs.pingcap.com/tidb/stable/sql-plan-replayer#use-plan-replayer-capture) tasks

## GC worker system tables

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

</CustomContent>

Expand Down

0 comments on commit db54503

Please sign in to comment.