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

add region bucket informations in split_check. #8

Open
wants to merge 2 commits into
base: test-cloud-5.1
Choose a base branch
from

Conversation

tonyxuqqi
Copy link

  1. split_check.rs: add region_bucket information that are used for split large range query.
  2. support both scan or approximate policy.

What problem does this PR solve?

improve large range query performance (such as select count(*), analyze table)
Issue Number: close #xxx

Problem Summary:

What is changed and how it works?

This is TiKV part change and all it does is basically update PD the current region buckets based on scan or approximate size. We virtually split the big region into region buckets, each region bucket is about 100MB size (the value is configurable).

Related changes

  • Unit test
  • Manual test (add detailed scripts or steps below)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant