-
Notifications
You must be signed in to change notification settings - Fork 1.2k
planner: add new cascades planner document #20470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AilinKid
wants to merge
3
commits into
master
Choose a base branch
from
add-cascades
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -1754,9 +1754,9 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; | |||||||||
|
||||||||||
### `tidb_enable_cascades_planner` | ||||||||||
|
||||||||||
> **警告:** | ||||||||||
> **注意:** | ||||||||||
> | ||||||||||
> 目前 cascades planner 为实验特性,不建议在生产环境中使用。 | ||||||||||
> 目前 cascades planner 为全新的优化器框架实现,其在设计之初就是为了兼容性出发考虑的,其可以在最大程度上保证和原有优化器逻辑的兼容性,并且在逻辑层面能够给到一定的扩展空间,此外还能够在多重逻辑计划之间进行 CBO 决策。目前 cascades planner 开启之后由于逻辑 rule 的数量目前还比较有限,其做 plan 的能力不一定会显现出很大的提升,但是随着后续 [TiDB Cascades Rule Evolution Project](https://github.com/pingcap/tidb/issues/61528) 项目的不断深入,cascades planner 将会展现更大的灵活性和适用性。 | ||||||||||
lilin90 marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
- 作用域:SESSION | GLOBAL | ||||||||||
- 是否持久化到集群:是 | ||||||||||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since "Cascades Planner" is listed in TiDB 功能概览 | TiDB 文档中心, please confirm whether we need to update the status in that table. Till v8.5, the feature status is experimental. Is it GA in v9.0?