-
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
Record history hotspot information in TIDB_HOT_REGIONS
#25281
Comments
@IcePigZDB @nolouch could you please create subtasks issue instead of organize the development in PRs? |
/assign @IcePigZDB @qidi1 |
/assign @qidi1 |
@nolouch: GitHub didn't allow me to assign the following users: qidi1. Note that only pingcap members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In 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/test-infra repository. |
…25281 Signed-off-by: qidi1 <1083369179@qq.com>
* core:remove compaction for hot region history ref #pingcap/tidb/pull/25281 Signed-off-by: qidi1 <1083369179@qq.com> * ref #4020 Signed-off-by: nolouch <nolouch@gmail.com> Co-authored-by: nolouch <nolouch@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
* core:remove compaction for hot region history ref #pingcap/tidb/pull/25281 Signed-off-by: qidi1 <1083369179@qq.com> * ref tikv#4020 Signed-off-by: nolouch <nolouch@gmail.com> Co-authored-by: nolouch <nolouch@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: hzh0425 <642256541@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
* command:add hot-history-regions command(ref #pingcap/tidb/issues/25281) Signed-off-by: qidi1 <1083369179@qq.com>
…4103) * command:add hot-history-regions command(ref #pingcap/tidb/issues/25281) Signed-off-by: qidi1 <1083369179@qq.com> Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
ref #pingcap/tidb/issues/25281 Signed-off-by: qidi1 <1083369179@qq.com>
ref #pingcap/tidb/issues/25281 Signed-off-by: qidi1 <1083369179@qq.com>
ref #pingcap/tidb/issues/25281 Signed-off-by: qidi1 <1083369179@qq.com>
ref #pingcap/tidb/issues/25281 Signed-off-by: qidi1 <1083369179@qq.com>
ref #pingcap/tidb/issues/25281 Signed-off-by: qidi1 <1083369179@qq.com>
… reboot (#4539) * fix bug of hot_region_history Signed-off-by: qidi1 <1083369179@qq.com> * config:make config can be change ref #pingcap/tidb/issues/25281 Signed-off-by: qidi1 <1083369179@qq.com> * server:address comment and add unit test Signed-off-by: qidi1 <1083369179@qq.com> Co-authored-by: IcePigZDB <icepigzdb@gmail.com> * server:data race Signed-off-by: qidi1 <1083369179@qq.com> * core:add integration test for config change Signed-off-by: qidi1 <1083369179@qq.com> * core:remove config change unit test Signed-off-by: qidi1 <1083369179@qq.com> * core:add getCurReservedDays and getCurInterval Signed-off-by: qidi1 <1083369179@qq.com> Co-authored-by: IcePigZDB <icepigzdb@gmail.com> Co-authored-by: ShuNing <nolouch@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
… reboot (tikv#4539) * fix bug of hot_region_history Signed-off-by: qidi1 <1083369179@qq.com> * config:make config can be change ref #pingcap/tidb/issues/25281 Signed-off-by: qidi1 <1083369179@qq.com> * server:address comment and add unit test Signed-off-by: qidi1 <1083369179@qq.com> Co-authored-by: IcePigZDB <icepigzdb@gmail.com> * server:data race Signed-off-by: qidi1 <1083369179@qq.com> * core:add integration test for config change Signed-off-by: qidi1 <1083369179@qq.com> * core:remove config change unit test Signed-off-by: qidi1 <1083369179@qq.com> * core:add getCurReservedDays and getCurInterval Signed-off-by: qidi1 <1083369179@qq.com> Co-authored-by: IcePigZDB <icepigzdb@gmail.com> Co-authored-by: ShuNing <nolouch@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Description
TiDB has a memory table
TIDB_HOT_REGIONS
that provides information about hotspot Regions. But it only shows the current hotspot information. This leads to the fact that when DBAs want to query historical hotspot details, they have no way to find the corresponding hotspot information.Document Collection
Talent Challenge Program information
- GO
- Etcd Election
- statstics upddate
Milestones and action items
Milestone 1: design and implement, Expected finish date: 2m
Detail Design docs: add proposal for TiDB_HOT_REGIONS_HISTORY #27487
Implement
TiDB_HOT_REGIONS_HISTORY
#27772Milestone 2: test and document, release it. Expected finish date: 1m
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: