Skip to content
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

New scheduler to support SQL-based Data Redistribution #8986

Open
bufferflies opened this issue Jan 10, 2025 · 1 comment
Open

New scheduler to support SQL-based Data Redistribution #8986

bufferflies opened this issue Jan 10, 2025 · 1 comment
Assignees
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@bufferflies
Copy link
Contributor

bufferflies commented Jan 10, 2025

Feature Request

TiKV and TiFlash are distributed storage engines for TiDB. The PD can automatically schedule the data to be distributed and balanced in the cluster. However, it can only consider the whole cluster to balance all data(in the form of region) among all TiKV or TiFlash nodes. For the specified table, the regions sometimes are not balanced in the cluster.

Describe your feature request-related problem

Describe the feature you'd like

PD provides some commands to trigger schedules for data distribution.

  • Implement a new SQL command to distribute data for the specified table.
  • Allow users to specify the target storage engine (TiKV or TiFlash or both) for data rebalance.
  • Provide a seamless and user-friendly experience for data rebalance.

Describe alternatives you've considered

Teachability, Documentation, Adoption, Migration Strategy

@bufferflies bufferflies added the type/feature-request Categorizes issue or PR as related to a new feature. label Jan 10, 2025
@bufferflies bufferflies self-assigned this Jan 10, 2025
@lhy1024
Copy link
Contributor

lhy1024 commented Jan 10, 2025

a better scatter-range-scheduler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants