diff --git a/optimizer-fix-controls.md b/optimizer-fix-controls.md index a86e6a5299e27..d6007621fbb13 100644 --- a/optimizer-fix-controls.md +++ b/optimizer-fix-controls.md @@ -58,3 +58,9 @@ SET SESSION tidb_opt_fix_control = '44262:ON,44389:ON'; - In some scenarios, when the `Probe` side of an `IndexJoin` operator contains a `Selection` operator, TiDB severely overestimates the row count of `IndexScan`. This might cause suboptimal query plans to be selected instead of `IndexJoin`. - To mitigate this issue, TiDB has introduced an improvement. However, due to potential query plan fallback risks, this improvement is disabled by default. - This variable controls whether to enable the preceding improvement. + +### [`46177`](https://github.com/pingcap/tidb/issues/46177) New in v6.5.6 and v7.1.3 + +- Default value: `ON` +- Possible values: `ON`, `OFF` +- This variable controls whether the optimizer explores enforced plans during query optimization after finding an unenforced plan.