From d0b4119517a169421976fc722961d82e44e3d1ad Mon Sep 17 00:00:00 2001 From: time-and-fate <25057648+time-and-fate@users.noreply.github.com> Date: Fri, 28 Feb 2025 18:36:03 +0800 Subject: [PATCH 1/5] add --- mysql-schema/mysql-schema.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mysql-schema/mysql-schema.md b/mysql-schema/mysql-schema.md index 62cde9e1c7755..fff1fa3ca5c1f 100644 --- a/mysql-schema/mysql-schema.md +++ b/mysql-schema/mysql-schema.md @@ -47,6 +47,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 @@ -56,6 +59,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 the PLAN REPLAYER + +* `plan_replayer_status` the PLAN REPLAYER CAPTURE tasks registered by the user +* `plan_replayer_task` PLAN REPLAYER CAPTURE results + ## GC worker system tables > **Note:** @@ -117,6 +125,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 the [Locking Functions](/functions-and-operators/locking-functions.md) From ade07e1812f055a55b2559d77d51f6465879723e Mon Sep 17 00:00:00 2001 From: time-and-fate <25057648+time-and-fate@users.noreply.github.com> Date: Fri, 28 Feb 2025 18:39:07 +0800 Subject: [PATCH 2/5] update --- mysql-schema/mysql-schema.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mysql-schema/mysql-schema.md b/mysql-schema/mysql-schema.md index fff1fa3ca5c1f..1db42f7b65ec4 100644 --- a/mysql-schema/mysql-schema.md +++ b/mysql-schema/mysql-schema.md @@ -47,9 +47,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 +- `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 @@ -61,8 +61,8 @@ Currently, the `help_topic` is NULL. ## System tables related to the PLAN REPLAYER -* `plan_replayer_status` the PLAN REPLAYER CAPTURE tasks registered by the user -* `plan_replayer_task` PLAN REPLAYER CAPTURE results +- `plan_replayer_status`: the PLAN REPLAYER CAPTURE tasks registered by the user +- `plan_replayer_task`: PLAN REPLAYER CAPTURE results ## GC worker system tables @@ -125,7 +125,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 the [Locking Functions](/functions-and-operators/locking-functions.md) +- `advisory_locks`: information related to the [Locking Functions](/functions-and-operators/locking-functions.md) From 4e52535687ad49d465dd2f0958880f4081106b5a Mon Sep 17 00:00:00 2001 From: time-and-fate <25057648+time-and-fate@users.noreply.github.com> Date: Fri, 28 Feb 2025 19:37:38 +0800 Subject: [PATCH 3/5] update --- mysql-schema/mysql-schema.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-schema/mysql-schema.md b/mysql-schema/mysql-schema.md index 1db42f7b65ec4..40c3f9a50bed9 100644 --- a/mysql-schema/mysql-schema.md +++ b/mysql-schema/mysql-schema.md @@ -61,8 +61,8 @@ Currently, the `help_topic` is NULL. ## System tables related to the PLAN REPLAYER -- `plan_replayer_status`: the PLAN REPLAYER CAPTURE tasks registered by the user -- `plan_replayer_task`: PLAN REPLAYER CAPTURE results +- `plan_replayer_status`: the [PLAN REPLAYER CAPTURE](/sql-plan-replayer.md#use-plan-replayer-capture) tasks registered by the user +- `plan_replayer_task`: [PLAN REPLAYER CAPTURE](/sql-plan-replayer.md#use-plan-replayer-capture) results ## GC worker system tables From b3d13925c610eaab739463b17299b6644caf7c66 Mon Sep 17 00:00:00 2001 From: Aolin Date: Mon, 3 Mar 2025 14:40:53 +0800 Subject: [PATCH 4/5] revise wording --- mysql-schema/mysql-schema.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mysql-schema/mysql-schema.md b/mysql-schema/mysql-schema.md index 40c3f9a50bed9..705b780d16659 100644 --- a/mysql-schema/mysql-schema.md +++ b/mysql-schema/mysql-schema.md @@ -59,10 +59,10 @@ 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 the PLAN REPLAYER +## System tables related to PLAN REPLAYER -- `plan_replayer_status`: the [PLAN REPLAYER CAPTURE](/sql-plan-replayer.md#use-plan-replayer-capture) tasks registered by the user -- `plan_replayer_task`: [PLAN REPLAYER CAPTURE](/sql-plan-replayer.md#use-plan-replayer-capture) results +- `plan_replayer_status`: the [`PLAN REPLAYER CAPTURE`](/sql-plan-replayer.md#use-plan-replayer-capture) tasks registered by the user +- `plan_replayer_task`: the results of [`PLAN REPLAYER CAPTURE`](/sql-plan-replayer.md#use-plan-replayer-capture) tasks ## GC worker system tables @@ -125,7 +125,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 the [Locking Functions](/functions-and-operators/locking-functions.md) +- `advisory_locks`: information related to [Locking functions](/functions-and-operators/locking-functions.md) From 582e372002ed0dc873d0f408a368ab823504d7de Mon Sep 17 00:00:00 2001 From: Aolin Date: Tue, 4 Mar 2025 14:12:49 +0800 Subject: [PATCH 5/5] make ci happy --- mysql-schema/mysql-schema.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-schema/mysql-schema.md b/mysql-schema/mysql-schema.md index 705b780d16659..66cfde5f464a4 100644 --- a/mysql-schema/mysql-schema.md +++ b/mysql-schema/mysql-schema.md @@ -61,8 +61,8 @@ Currently, the `help_topic` is NULL. ## System tables related to PLAN REPLAYER -- `plan_replayer_status`: the [`PLAN REPLAYER CAPTURE`](/sql-plan-replayer.md#use-plan-replayer-capture) tasks registered by the user -- `plan_replayer_task`: the results of [`PLAN REPLAYER CAPTURE`](/sql-plan-replayer.md#use-plan-replayer-capture) tasks +- `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