-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
UCP: Speed up slow_query #15354
Comments
/pick-up-challenge |
@ziyi-yan pick up issue success |
Hi, @crazycs520. I found out that the Lines 1428 to 1435 in 9e98f70
Is it OK to put some initialization code here? |
I just submit a draft PR for further discussion. It seems that it's kind of hard to do initialization when constructing the |
Description
TiDB has an
SLOW_QUERY
system table, it's data is parse from slow-log when user query this table.Currently, TiDB user synchronous parsing slow-log file when parrent executor calling
Next
method. But we canuse another goroutine to Asynchronous parsing slow-log to speed up query
SLOW_QUERY
. the progress maybe like below:Score
Mentor(s)
Contact the mentors: #tidb-challenge-program channel in TiDB Community Slack Workspace
Recommended Skills
Learning Materials
The text was updated successfully, but these errors were encountered: