-
Notifications
You must be signed in to change notification settings - Fork 726
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
Supports some small regions(table) can not be merge. #2171
Comments
/pick-up-challenge |
@mantuliu pick up issue success |
@nolouch My idea is to add a configuration parameter: MergeHotRegionInterval, the default value is 24 hours. Plan B: Or add a field to the RegionInfo of core / region.go, indicating the time when the region was last marked as hot, and store the value of this new field to disk with the RegionInfo information. What do you think of this ideas? Plan A does not store related hot region information to disk. Some hot regions may be merged by mistake during the process of pd master-slave switch. Plan B can store the last hot time to disk. |
/give-up-challenge |
@mantuliu give up issue success |
Hi @mantuliu , are you still interested in solving this problem? We have encountered a situation where there is a small table with hot spots. After the split, we must prevent it from being merged. |
ongoing #3839 closed this one. |
Description
Sometimes, some regions are hot but not large, do not merge them can improve performance. we want to specify some regions(table) can not be merge.
Score
Mentor
Recommended Skills
Learning Materials
The text was updated successfully, but these errors were encountered: