From f26ff5645a4bedcb0c718a7a71ec123a469ae9a9 Mon Sep 17 00:00:00 2001 From: Zhou Kunqin <25057648+time-and-fate@users.noreply.github.com> Date: Tue, 4 Mar 2025 14:18:25 +0800 Subject: [PATCH 1/2] This is an automated cherry-pick of #20409 Signed-off-by: ti-chi-bot --- mysql-schema.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/mysql-schema.md b/mysql-schema.md index 28456e4d23d94..64b31f81798cf 100644 --- a/mysql-schema.md +++ b/mysql-schema.md @@ -43,6 +43,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 - `schema_index_usage`: the usage of indexes @@ -53,6 +56,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:** @@ -93,3 +101,15 @@ Currently, the `help_topic` is NULL. - `expr_pushdown_blacklist`: the blocklist for expression pushdown - `opt_rule_blacklist`: the blocklist for logical optimization rules - `tidb_timers`: the metadata of internal timers +<<<<<<< HEAD:mysql-schema.md +======= +- `advisory_locks`: information related to [Locking functions](/functions-and-operators/locking-functions.md) + + + + + +- `GLOBAL_VARIABLES`: global system variable table + + +>>>>>>> db5450336b (mysql-schema: add information about several missing system tables (#20409)):mysql-schema/mysql-schema.md From 97de5cdf598bb63c62992172b016ea3b99522661 Mon Sep 17 00:00:00 2001 From: Aolin Date: Tue, 4 Mar 2025 17:06:52 +0800 Subject: [PATCH 2/2] Apply suggestions from code review --- mysql-schema.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/mysql-schema.md b/mysql-schema.md index 64b31f81798cf..7111b8c133cd1 100644 --- a/mysql-schema.md +++ b/mysql-schema.md @@ -101,15 +101,4 @@ Currently, the `help_topic` is NULL. - `expr_pushdown_blacklist`: the blocklist for expression pushdown - `opt_rule_blacklist`: the blocklist for logical optimization rules - `tidb_timers`: the metadata of internal timers -<<<<<<< HEAD:mysql-schema.md -======= - `advisory_locks`: information related to [Locking functions](/functions-and-operators/locking-functions.md) - - - - - -- `GLOBAL_VARIABLES`: global system variable table - - ->>>>>>> db5450336b (mysql-schema: add information about several missing system tables (#20409)):mysql-schema/mysql-schema.md