-
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
Add more information in slow logs to help analyze slow queries #17557
Comments
Should Statement Summary be involved? |
@SunRunAway I opened an issue for the statement part. Some fields listed here are already included in the statements. TiDB should provide Slow Query and Statement fields in a unified way, i.e. they have identical fields (or mostly shares a common part) and names. |
Since pingcap/kvproto#600 is not supported by TiKV, it is no use to support it on TiKV now, so we decide to close this issue now and support it after TiKV supporting it. |
@qw4990 There is a PR for it tikv/tikv#7563 Maybe we can drive this PR now. |
@qw4990 Hi, are these new slow log fields available in v4.0 branch? |
Development Task
Now information in slow logs(or
slow-query-table
) is not enough to analyze slow queries.After discussing, we should add these useful information into it:
explain analyze
)(UCP: Add execution information in slow log Plan field. #15008)(*: record execute runtime information in slow log #17573)ScanDetailV2
The text was updated successfully, but these errors were encountered: