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
@@ -4305,6 +4305,24 @@ mysql> desc select count(distinct a) from test.t;
4305
4305
- Default value: `OFF`
4306
4306
- This variable controls whether to enable the [Cross-database binding](/sql-plan-management.md#cross-database-binding) feature.
4307
4307
4308
+
### tidb_opt_enable_no_decorrelate_in_select <span class="version-mark">New in v8.5.4</span>
4309
+
4310
+
- Scope: SESSION | GLOBAL
4311
+
- Persists to cluster: Yes
4312
+
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
4313
+
- Type: Boolean
4314
+
- Default value: `OFF`
4315
+
- 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.
4316
+
4317
+
### tidb_opt_enable_semi_join_rewrite <span class="version-mark">New in v8.5.4</span>
4318
+
4319
+
- Scope: SESSION | GLOBAL
4320
+
- Persists to cluster: Yes
4321
+
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
4322
+
- Type: Boolean
4323
+
- Default value: `OFF`
4324
+
- This variable controls whether the optimizer applies the [`SEMI_JOIN_REWRITE()`](/optimizer-hints.md#semi_join_rewrite) hint for all queries that contain subqueries.
4325
+
4308
4326
### tidb_opt_fix_control <span class="version-mark">New in v6.5.3 and v7.1.0</span>
0 commit comments