From 9eddadd491ddcc17e75f071955e837e8e428c84b Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 Date: Mon, 19 Jul 2021 11:14:02 +0800 Subject: [PATCH] update docs related to partition table dynamic mode --- experimental-features.md | 2 +- partitioned-table.md | 2 +- releases/release-5.1.0.md | 4 ++-- system-variables.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/experimental-features.md b/experimental-features.md index fb2f84d057be3..dc406e3ee41ee 100644 --- a/experimental-features.md +++ b/experimental-features.md @@ -24,7 +24,7 @@ This document introduces the experimental features of TiDB in different versions + List Partition (Introduced in v5.0) + List COLUMNS Partition (Introduced in v5.0) -+ [Dynamic Mode for Partitioned Tables](/partitioned-table.md#dynamic-mode). (Introduced in v5.1) ++ [Dynamic Pruning Mode for Partitioned Tables](/partitioned-table.md#dynamic-pruning-mode). (Introduced in v5.1) + The expression index feature. The expression index is also called the function-based index. When you create an index, the index fields do not have to be a specific column but can be an expression calculated from one or more columns. This feature is useful for quickly accessing the calculation-based tables. See [Expression index](/sql-statements/sql-statement-create-index.md) for details. (Introduced in v4.0) + [Generated Columns](/generated-columns.md). + [User-Defined Variables](/user-defined-variables.md). diff --git a/partitioned-table.md b/partitioned-table.md index f545ff4435dfd..e32cbce093358 100644 --- a/partitioned-table.md +++ b/partitioned-table.md @@ -1280,7 +1280,7 @@ The `tidb_enable_list_partition` environment variable controls whether to enable This variable is only used in table creation. After the table is created, modify this variable value takes no effect. For details, see [system variables](/system-variables.md#tidb_enable_list_partition-new-in-v50). -### Dynamic mode +### Dynamic pruning mode > **Warning:** > diff --git a/releases/release-5.1.0.md b/releases/release-5.1.0.md index a114fea2b341e..fd50b983d733c 100644 --- a/releases/release-5.1.0.md +++ b/releases/release-5.1.0.md @@ -33,7 +33,7 @@ In v5.1, the key new features or improvements are as follows: | [`tidb_analyze_version`](/system-variables.md#tidb_analyze_version-new-in-v510) | Newly added | Controls how TiDB collects statistics. The default value of this variable is `2`. This is an experimental feature. | | [`tidb_enable_enhanced_security`](/system-variables.md#tidb_enable_enhanced_security) | Newly added | Indicates whether the TiDB server you are connected to has the Security Enhanced Mode (SEM) enabled. This variable setting cannot be changed without restarting the TiDB server. | | [`tidb_enforce_mpp`](/system-variables.md#tidb_enforce_mpp-new-in-v51) | Newly added | Controls whether to ignore the optimizer's cost estimation and to forcibly use the MPP mode for query execution. The data type of this variable is `BOOL` and the default value is `false`. | -| [`tidb_partition_prune_mode`](/system-variables.md#tidb_partition_prune_mode-new-in-v51) | Newly added | Specifies whether to enable dynamic prune mode for partitioned tables. This feature is experimental. The default value of this variable is `static`, which means the dynamic mode for partitioned tables is disabled by default. | +| [`tidb_partition_prune_mode`](/system-variables.md#tidb_partition_prune_mode-new-in-v51) | Newly added | Specifies whether to enable dynamic pruning mode for partitioned tables. This feature is experimental. The default value of this variable is `static`, which means the dynamic pruning mode for partitioned tables is disabled by default. | ### Configuration file parameters @@ -184,7 +184,7 @@ To learn more about the information and how to disable this behavior, refer to [ - Support pushing down data of the enumerated type to TiKV to improve performance when using enumerated types in `WHERE` clauses [#23619](https://github.com/pingcap/tidb/issues/23619) - Optimize the calculation of Window Function to solve TiDB OOM problems when paging data with ROW_NUMBER() [#23807](https://github.com/pingcap/tidb/issues/23807) - Optimize the calculation of `UNION ALL` to solve the TiDB OOM problems when using `UNION ALL` to join a large number of `SELECT` statements [#21441](https://github.com/pingcap/tidb/issues/21441) - - Optimize the dynamic mode of partitioned tables to improve performance and stability [#24150](https://github.com/pingcap/tidb/issues/24150) + - Optimize the dynamic pruning mode of partitioned tables to improve performance and stability [#24150](https://github.com/pingcap/tidb/issues/24150) - Fix the `Region is Unavailable` issue that occurs in multiple scenarios [project#62](https://github.com/pingcap/tidb/projects/62) - Fix multiple `Region is Unavailable` issues that might occur in frequent scheduling situations - Fix `Region is Unavailable` issue that might occur in some high stress write situations diff --git a/system-variables.md b/system-variables.md index 40d2933076cd1..d95b444df9486 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1109,7 +1109,7 @@ explain select * from t where age=5; - Scope: SESSION | GLOBAL - Default value: `static` -- Specifies whether to enable `dynamic` mode for partitioned tables. For details about the dynamic pruning mode, see [Dynamic Pruning Mode for Partitioned Tables](/partitioned-table.md#dynamic-mode). +- Specifies whether to enable `dynamic` mode for partitioned tables. For details about the dynamic pruning mode, see [Dynamic Pruning Mode for Partitioned Tables](/partitioned-table.md#dynamic-pruning-mode). ### tidb_pprof_sql_cpu New in v4.0