From ad9a72d52dc202aeee3105e818a6cddd55b622a3 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Wed, 8 May 2024 11:11:52 +0800 Subject: [PATCH 1/7] Add temp.md --- temp.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 temp.md diff --git a/temp.md b/temp.md new file mode 100644 index 0000000000000..af27ff4986a7b --- /dev/null +++ b/temp.md @@ -0,0 +1 @@ +This is a test file. \ No newline at end of file From 28410194be5a1f6352d68f34bd8bdc8f3f3a8c5b Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Wed, 8 May 2024 11:11:57 +0800 Subject: [PATCH 2/7] Delete temp.md --- temp.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 temp.md diff --git a/temp.md b/temp.md deleted file mode 100644 index af27ff4986a7b..0000000000000 --- a/temp.md +++ /dev/null @@ -1 +0,0 @@ -This is a test file. \ No newline at end of file From 10d67ba19070b93558594a995e4f8c13a12b9490 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Wed, 8 May 2024 11:40:29 +0800 Subject: [PATCH 3/7] add translation --- releases/release-7.3.0.md | 4 ++++ system-variables.md | 1 + 2 files changed, 5 insertions(+) diff --git a/releases/release-7.3.0.md b/releases/release-7.3.0.md index 03c057cb56bdd..eb9886fd7296e 100644 --- a/releases/release-7.3.0.md +++ b/releases/release-7.3.0.md @@ -155,6 +155,10 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v7.3/quick-start-with- ### Behavior changes +* TiDB + + - MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms. Compared with other protocols, the MPP protocol is more mature and can provide better task and resource management. Starting from v7.3.0, when TiDB pushes computation tasks to TiFlash, the optimizer only generates execution plans using the MPP protocol by default. If [`tidb_allow_mpp`](/system-variables.md#tidb_allow_mpp-introduced-in-v50) is set to `OFF`, queries might return errors after you upgrade TiDB. It is recommended that you check the value of `tidb_allow_mpp` and set it to `ON` before the upgrade. If you still need the optimizer to choose one of the Cop, BatchCop, and MPP protocols for generating execution plans based on cost estimates, you can set the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-introduced-in-v730) variable to `ON`. + * Backup & Restore (BR) - BR adds an empty cluster check before performing a full data restoration. By default, restoring data to a non-empty cluster is not allowed. If you want to force the restoration, you can use the `--filter` option to specify the corresponding table name to restore data to. diff --git a/system-variables.md b/system-variables.md index 4521ce8df949f..5584d2b3deae9 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1079,6 +1079,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; - Default value: `ON` - Controls whether to use the MPP mode of TiFlash to execute queries. The value options are as follows: - `0` or `OFF`, which means that the MPP mode will not be used. + - `0` or `OFF`, which means that the MPP mode will not be used. For v7.3.0 or a later version, if you set the value of this variable to `0` or `OFF`, you also need to enable the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-introduced-in-v730) variable. Otherwise, queries might return errors. - `1` or `ON`, which means that the optimizer determines whether to use the MPP mode based on the cost estimation (by default). MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms. For details about the selection of the MPP mode, refer to [Control whether to select the MPP mode](/tiflash/use-tiflash-mpp-mode.md#control-whether-to-select-the-mpp-mode). From 8a90fcb37434cdb2777a8225e521e169f41d7ddb Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Wed, 8 May 2024 11:40:58 +0800 Subject: [PATCH 4/7] Update system-variables.md --- system-variables.md | 1 - 1 file changed, 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 5584d2b3deae9..8a9df8eec27ea 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1078,7 +1078,6 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; - Type: Boolean - Default value: `ON` - Controls whether to use the MPP mode of TiFlash to execute queries. The value options are as follows: - - `0` or `OFF`, which means that the MPP mode will not be used. - `0` or `OFF`, which means that the MPP mode will not be used. For v7.3.0 or a later version, if you set the value of this variable to `0` or `OFF`, you also need to enable the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-introduced-in-v730) variable. Otherwise, queries might return errors. - `1` or `ON`, which means that the optimizer determines whether to use the MPP mode based on the cost estimation (by default). From bdb4ade2b9d60fe2ea94c8cc133bbaa96307419e Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Wed, 8 May 2024 11:42:02 +0800 Subject: [PATCH 5/7] fix a broken link --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 8a9df8eec27ea..9eb4c8773addf 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1078,7 +1078,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; - Type: Boolean - Default value: `ON` - Controls whether to use the MPP mode of TiFlash to execute queries. The value options are as follows: - - `0` or `OFF`, which means that the MPP mode will not be used. For v7.3.0 or a later version, if you set the value of this variable to `0` or `OFF`, you also need to enable the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-introduced-in-v730) variable. Otherwise, queries might return errors. + - `0` or `OFF`, which means that the MPP mode will not be used. For v7.3.0 or a later version, if you set the value of this variable to `0` or `OFF`, you also need to enable the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-new-in-v730) variable. Otherwise, queries might return errors. - `1` or `ON`, which means that the optimizer determines whether to use the MPP mode based on the cost estimation (by default). MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms. For details about the selection of the MPP mode, refer to [Control whether to select the MPP mode](/tiflash/use-tiflash-mpp-mode.md#control-whether-to-select-the-mpp-mode). From 7894033a97b863f29a185589ce92c17f04506eb3 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Thu, 9 May 2024 09:59:30 +0800 Subject: [PATCH 6/7] Update releases/release-7.3.0.md Co-authored-by: xixirangrang --- releases/release-7.3.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-7.3.0.md b/releases/release-7.3.0.md index eb9886fd7296e..18ae57e079614 100644 --- a/releases/release-7.3.0.md +++ b/releases/release-7.3.0.md @@ -157,7 +157,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v7.3/quick-start-with- * TiDB - - MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms. Compared with other protocols, the MPP protocol is more mature and can provide better task and resource management. Starting from v7.3.0, when TiDB pushes computation tasks to TiFlash, the optimizer only generates execution plans using the MPP protocol by default. If [`tidb_allow_mpp`](/system-variables.md#tidb_allow_mpp-introduced-in-v50) is set to `OFF`, queries might return errors after you upgrade TiDB. It is recommended that you check the value of `tidb_allow_mpp` and set it to `ON` before the upgrade. If you still need the optimizer to choose one of the Cop, BatchCop, and MPP protocols for generating execution plans based on cost estimates, you can set the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-introduced-in-v730) variable to `ON`. + - MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms. Compared with other protocols, the MPP protocol is more mature and can provide better task and resource management. Starting from v7.3.0, when TiDB pushes computation tasks to TiFlash, the optimizer only generates execution plans using the MPP protocol by default. If [`tidb_allow_mpp`](/system-variables.md#tidb_allow_mpp-introduced-in-v50) is set to `OFF`, queries might return errors after you upgrade TiDB. It is recommended that you check the value of `tidb_allow_mpp` and set it to `ON` before the upgrade. If you still need the optimizer to choose one of the Cop, BatchCop, and MPP protocols for generating execution plans based on cost estimates, you can set the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-new-in-v730) variable to `ON`. * Backup & Restore (BR) From 9b82284a56bd7d085ead3a409fa8addaaef09e50 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Thu, 9 May 2024 10:56:34 +0800 Subject: [PATCH 7/7] fix a broken link --- releases/release-7.3.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-7.3.0.md b/releases/release-7.3.0.md index 18ae57e079614..fa8b53a66cfb9 100644 --- a/releases/release-7.3.0.md +++ b/releases/release-7.3.0.md @@ -157,7 +157,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v7.3/quick-start-with- * TiDB - - MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms. Compared with other protocols, the MPP protocol is more mature and can provide better task and resource management. Starting from v7.3.0, when TiDB pushes computation tasks to TiFlash, the optimizer only generates execution plans using the MPP protocol by default. If [`tidb_allow_mpp`](/system-variables.md#tidb_allow_mpp-introduced-in-v50) is set to `OFF`, queries might return errors after you upgrade TiDB. It is recommended that you check the value of `tidb_allow_mpp` and set it to `ON` before the upgrade. If you still need the optimizer to choose one of the Cop, BatchCop, and MPP protocols for generating execution plans based on cost estimates, you can set the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-new-in-v730) variable to `ON`. + - MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms. Compared with other protocols, the MPP protocol is more mature and can provide better task and resource management. Starting from v7.3.0, when TiDB pushes computation tasks to TiFlash, the optimizer only generates execution plans using the MPP protocol by default. If [`tidb_allow_mpp`](/system-variables.md#tidb_allow_mpp-new-in-v50) is set to `OFF`, queries might return errors after you upgrade TiDB. It is recommended that you check the value of `tidb_allow_mpp` and set it to `ON` before the upgrade. If you still need the optimizer to choose one of the Cop, BatchCop, and MPP protocols for generating execution plans based on cost estimates, you can set the [`tidb_allow_tiflash_cop`](/system-variables.md#tidb_allow_tiflash_cop-new-in-v730) variable to `ON`. * Backup & Restore (BR)