pingcap / pingcap/tidb

topsql limiter on the TiDB

Open
#40,832 0 comments 0 reactions 0 assignees View on GitHub
sig/sql-infra type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

Now, more and more query flow comes into the TiDB. If TiDB is at high usage, we should prevent tidb from too much flow. I have an idea to implement it. Use the [heavykeeper](https://www.usenix.org/conference/atc18/presentation/gong) to get Top k most used SQLs. if we find a SQL in TopK, we can use BBR to avoid overload.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.