Skip to content

Commit

Permalink
cloud: fix control add 56318 (#19694)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricZequan authored Dec 16, 2024
1 parent 3cc3181 commit 97f9854
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions optimizer-fix-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,13 @@ SET SESSION tidb_opt_fix_control = '44262:ON,44389:ON';
- Default value: `OFF`
- Possible values: `ON`, `OFF`
- This variable controls whether the optimizer explores enforced plans during query optimization after finding an unenforced plan.

### [`56318`](https://github.com/pingcap/tidb/issues/56318)

> **Note:**
>
> This is only available for [TiDB Cloud Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-cloud-serverless).
- Default value: `ON`
- Possible values: `ON`, `OFF`
- This variable controls whether to avoid calculating the heavy expression used in the `ORDER BY` statement twice.

0 comments on commit 97f9854

Please sign in to comment.