-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
session: set process info before building plan #22101
Conversation
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
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.
LGTM
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.
LGTM
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
/merge |
/run-all-tests |
@wshwsh12 merge failed. |
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #22148 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.0-rc in PR #22149 |
Signed-off-by: ti-srebot <[email protected]>
What problem does this PR solve?
Issue Number: close #22068
Problem Summary:
Uncorrelated subqueries will execute once when building plan, and it maybe cost much time. So we set process info before building plan, to trace the running time and info.
What is changed and how it works?
Proposal: xxx
What's Changed:
How it Works:
Related changes
Check List
Tests
Session 1:
select 1 from t where a = (select sleep(30));
Session 2:
Side effects
Release note