Skip to content

add region bucket informations in split_check.#8

Open
tonyxuqqi wants to merge 2 commits intoBusyJay:test-cloud-5.1from
tonyxuqqi:test-cloud-5.1
Open

add region bucket informations in split_check.#8
tonyxuqqi wants to merge 2 commits intoBusyJay:test-cloud-5.1from
tonyxuqqi:test-cloud-5.1

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