-
Notifications
You must be signed in to change notification settings - Fork 6.1k
*: Collect client network info for topsql to pick topN sql with highest network traffic (#63796) #65962
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
base: release-8.5
Are you sure you want to change the base?
*: Collect client network info for topsql to pick topN sql with highest network traffic (#63796) #65962
Conversation
|
@yibin87 This PR has conflicts, I have hold it. |
|
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Signed-off-by: ti-chi-bot <[email protected]>
d8a0a61 to
3367d2a
Compare
Signed-off-by: yibin87 <[email protected]>
Signed-off-by: yibin87 <[email protected]>
Merge the other cp into this one: #65688 |
|
/test build |
|
/test unit-test |
|
@yibin87: The specified target(s) for DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@yibin87: The specified target(s) for DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.5 #65962 +/- ##
================================================
Coverage ? 54.9302%
================================================
Files ? 1815
Lines ? 650953
Branches ? 0
================================================
Hits ? 357570
Misses ? 266757
Partials ? 26626
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
/test unit-test |
|
@yibin87: The specified target(s) for DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
yibin87
left a comment
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
|
/unhold |
|
/cc @zimulala |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yibin87, zimulala The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |


This is an automated cherry-pick of #63796
What problem does this PR solve?
Issue Number: close #62920
Problem Summary:
Add client network in/out stats in topsql. And record topN network usage sqls adding to current topN cpu usage sqls. Note one sql will be added at most once.
What changed and how does it work?
Check List
Sysbench Performance Test
The performance impact of this PR is not noticable.

Turn off topsql
Turn on topsql

Tests
Run tpch benchmark, print topsql report data on tidb side, and check the network in/out data using sql digest manually to ensure network data make sense.
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.