You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: system-variables.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4343,6 +4343,24 @@ mysql> desc select count(distinct a) from test.t;
4343
4343
- Default value: `OFF`
4344
4344
- This variable controls whether to enable the [Cross-database binding](/sql-plan-management.md#cross-database-binding) feature.
4345
4345
4346
+
### tidb_opt_enable_no_decorrelate_in_select <span class="version-mark">New in v8.5.4 and v9.0.0</span>
4347
+
4348
+
- Scope: SESSION | GLOBAL
4349
+
- Persists to cluster: Yes
4350
+
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
4351
+
- Type: Boolean
4352
+
- Default value: `OFF`
4353
+
- This variable controls whether the optimizer applies the [`NO_DECORRELATE()`](/optimizer-hints.md#no_decorrelate) hint for all queries that contain a subquery in the `SELECT` list.
4354
+
4355
+
### tidb_opt_enable_semi_join_rewrite <span class="version-mark">New in v8.5.4 and v9.0.0</span>
4356
+
4357
+
- Scope: SESSION | GLOBAL
4358
+
- Persists to cluster: Yes
4359
+
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
4360
+
- Type: Boolean
4361
+
- Default value: `OFF`
4362
+
- This variable controls whether the optimizer applies the [`SEMI_JOIN_REWRITE()`](/optimizer-hints.md#semi_join_rewrite) hint for all queries that contain subqueries.
4363
+
4346
4364
### tidb_opt_fix_control <span class="version-mark">New in v6.5.3 and v7.1.0</span>
0 commit comments