Skip to content

Commit

Permalink
update bucket size (#14439)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxuqqi authored Aug 7, 2023
1 parent 68376df commit 89e0735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ Configuration items related to Coprocessor.
### `region-bucket-size` <span class="version-mark">New in v6.1.0</span>

+ The size of a bucket when `enable-region-bucket` is true.
+ Default value: `96MiB`
+ Default value: Starting from v7.3.0, the default value is changed from `96MiB` to `50MiB`.

> **Warning:**
>
Expand Down
2 changes: 1 addition & 1 deletion tune-region-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ When the Dumpling tool is used, the Region size should not exceed 1 GiB. In this
>
> Currently, this is an experimental feature introduced in TiDB v6.1.0. It is not recommended that you use it in production environments.
When Regions are set to a larger size, you need to set [`coprocessor.enable-region-bucket`](/tikv-configuration-file.md#enable-region-bucket-new-in-v610) to `true` to increase the query concurrency. When you use this configuration, Regions are divided into buckets. Buckets are smaller ranges within a Region and are used as the unit of concurrent query to improve the scan concurrency. You can control the bucket size using [`coprocessor.region-bucket-size`](/tikv-configuration-file.md#region-bucket-size-new-in-v610). The default value is `96MiB`.
When Regions are set to a larger size, you need to set [`coprocessor.enable-region-bucket`](/tikv-configuration-file.md#enable-region-bucket-new-in-v610) to `true` to increase the query concurrency. When you use this configuration, Regions are divided into buckets. Buckets are smaller ranges within a Region and are used as the unit of concurrent query to improve the scan concurrency. You can control the bucket size using [`coprocessor.region-bucket-size`](/tikv-configuration-file.md#region-bucket-size-new-in-v610).

0 comments on commit 89e0735

Please sign in to comment.