From 255dc627cbc3d98126115d19bb3ad708def7dd09 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Tue, 12 Dec 2023 15:25:20 +0800 Subject: [PATCH 1/4] Update system-variables.md --- system-variables.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/system-variables.md b/system-variables.md index c3f74b438dc60..bcbf7f10307a7 100644 --- a/system-variables.md +++ b/system-variables.md @@ -2040,6 +2040,16 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; - Default value: `OFF` - This variable controls whether to enable GC-Aware memory track. +### tidb_enable_global_index + +- Scope: SESSION | GLOBAL +- Persists to cluster: Yes +- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No +- Type: Boolean +- Default value: `OFF` +- Possible values: `OFF`,`ON` +- This variable controls whether to support creating `Global index` for partitioned tables. `Global index` is currently in the development stage. **It is not recommended to modify the value of this system variable**. + ### tidb_enable_non_prepared_plan_cache - Scope: SESSION | GLOBAL From 1c0c44b951d8939852549ffea6664fd334dcc37e Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 12 Dec 2023 15:32:51 +0800 Subject: [PATCH 2/4] Update system-variables.md --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index bcbf7f10307a7..abd16b23c3826 100644 --- a/system-variables.md +++ b/system-variables.md @@ -2040,7 +2040,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; - Default value: `OFF` - This variable controls whether to enable GC-Aware memory track. -### tidb_enable_global_index +### tidb_enable_global_index New in v7.6.0 - Scope: SESSION | GLOBAL - Persists to cluster: Yes From 2362c026360a9bbe326d6b07a52e080f03eb8eef Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 12 Dec 2023 15:33:35 +0800 Subject: [PATCH 3/4] Update system-variables.md Co-authored-by: Hangjie Mo --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index abd16b23c3826..6ef0581ae9362 100644 --- a/system-variables.md +++ b/system-variables.md @@ -2048,7 +2048,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; - Type: Boolean - Default value: `OFF` - Possible values: `OFF`,`ON` -- This variable controls whether to support creating `Global index` for partitioned tables. `Global index` is currently in the development stage. **It is not recommended to modify the value of this system variable**. +- This variable controls whether to support creating `Global indexes` for partitioned tables. `Global index` is currently in the development stage. **It is not recommended to modify the value of this system variable**. ### tidb_enable_non_prepared_plan_cache From 0069843fb549f66d905c5b535a09f8d3a66928ea Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Thu, 14 Dec 2023 08:45:41 +0800 Subject: [PATCH 4/4] Update system-variables.md Co-authored-by: Ran --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 6ef0581ae9362..5aeca6b7a4767 100644 --- a/system-variables.md +++ b/system-variables.md @@ -2047,7 +2047,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No - Type: Boolean - Default value: `OFF` -- Possible values: `OFF`,`ON` +- Possible values: `OFF`, `ON` - This variable controls whether to support creating `Global indexes` for partitioned tables. `Global index` is currently in the development stage. **It is not recommended to modify the value of this system variable**. ### tidb_enable_non_prepared_plan_cache