From 7f1d9fc58811f0375c019152ba3a951f3ae22cfc Mon Sep 17 00:00:00 2001 From: qw4990 Date: Thu, 28 Nov 2024 16:34:19 +0800 Subject: [PATCH 1/2] fixup --- optimizer-fix-controls.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/optimizer-fix-controls.md b/optimizer-fix-controls.md index 83a31304307d9..87d8e4d5184f4 100644 --- a/optimizer-fix-controls.md +++ b/optimizer-fix-controls.md @@ -71,6 +71,12 @@ SET SESSION tidb_opt_fix_control = '44262:ON,44389:ON'; - This variable sets the threshold for the optimizer's heuristic strategy to select access paths. If the estimated rows for an access path (such as `Index_A`) is much smaller than that of other access paths (default `1000` times), the optimizer skips the cost comparison and directly selects `Index_A`. - `0` means to disable this heuristic strategy. +### [`45798`](https://github.com/pingcap/tidb/issues/45798) New in v7.5.0 + +- Default value: `ON` +- Possible values: `ON`, `OFF` +- This variable controls whether to allow the Plan Cache to cache plans accessing generated columns. + ### [`47400`](https://github.com/pingcap/tidb/issues/47400) New in v8.4.0 - Default value: `ON` From a23c5ff55c391333cf760f4bbc791c9fa39dbd5f Mon Sep 17 00:00:00 2001 From: qw4990 Date: Fri, 29 Nov 2024 14:23:25 +0800 Subject: [PATCH 2/2] fixup --- optimizer-fix-controls.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/optimizer-fix-controls.md b/optimizer-fix-controls.md index 87d8e4d5184f4..49ef9ab7d4ad6 100644 --- a/optimizer-fix-controls.md +++ b/optimizer-fix-controls.md @@ -77,6 +77,12 @@ SET SESSION tidb_opt_fix_control = '44262:ON,44389:ON'; - Possible values: `ON`, `OFF` - This variable controls whether to allow the Plan Cache to cache plans accessing generated columns. +### [`46177`](https://github.com/pingcap/tidb/issues/46177) New in v7.5.0 + +- Default value: `ON` +- Possible values: `ON`, `OFF` +- This variable controls whether to explore enforced plans during optimization if it has already found an unenforced plan. + ### [`47400`](https://github.com/pingcap/tidb/issues/47400) New in v8.4.0 - Default value: `ON`