Skip to content

Commit 8151ae6

Browse files
authored
planner: update the default value of tidb_ignore_inlist_plan_digest to True (#22516)
1 parent b40d781 commit 8151ae6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system-variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3523,11 +3523,11 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
35233523
- Persists to cluster: Yes
35243524
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
35253525
- Type: Boolean
3526-
- Default value: `OFF`
3526+
- Default value: `ON`. Before v8.5.6, the default value is `OFF`.
35273527
- This variable controls whether TiDB ignores the element differences in the `IN` list across different queries when generating Plan Digests.
35283528

3529-
- When it is the default value `OFF`, TiDB does not ignore the element differences (including the difference in the number of elements) in the `IN` list when generating Plan Digests. The element differences in the `IN` list result in different Plan Digests.
3530-
- When it is set to `ON`, TiDB ignores the element differences (including the difference in the number of elements) in the `IN` list and uses `...` to replace elements in the `IN` list in Plan Digests. In this case, TiDB generates the same Plan Digests for `IN` queries of the same type.
3529+
- When it is the default value `ON`, TiDB ignores the element differences (including the difference in the number of elements) in the `IN` list and uses `...` to replace elements in the `IN` list in Plan Digests. In this case, TiDB generates the same Plan Digests for `IN` queries of the same type.
3530+
- When it is set to `OFF`, TiDB does not ignore the element differences (including the difference in the number of elements) in the `IN` list when generating Plan Digests. The element differences in the `IN` list result in different Plan Digests.
35313531

35323532
### tidb_index_join_batch_size
35333533

0 commit comments

Comments
 (0)