-
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
log: generate digest and log it in slow log #9662
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9662 +/- ##
================================================
- Coverage 67.4017% 67.3899% -0.0119%
================================================
Files 377 377
Lines 79443 79457 +14
================================================
Hits 53546 53546
- Misses 21117 21128 +11
- Partials 4780 4783 +3 |
/run-all-tests |
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
/run-all-tests |
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
/run-all-tests |
/run-common-test tidb-test=pr/755 |
/run-common-test tidb-test=pr/755 |
/run-all-tests tidb-test=pr/755 |
What problem does this PR solve?
follow up to pingcap/parser#32, add digest to slow log
so we can awk or sql agg sql by digest to analysis query faster(even without pt-digest)
What is changed and how it works?
admin show slow
field(maybe we can do more use digest for show slow but maybe in following pr)Check List
Tests
Code changes
Side effects
Related changes
This change is