Skip to content

Commit

Permalink
update default bucket size (#14716)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxuqqi authored Aug 7, 2023
1 parent 22a965d commit 4979a25
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 @@ -1088,7 +1088,7 @@ Coprocessor 相关的配置项。
### `region-bucket-size` <span class="version-mark">从 v6.1.0 版本开始引入</span>

+ 设置 `enable-region-bucket` 启用时 bucket 的预期大小。
+ 默认值:96MiB
+ 默认值:从 v7.3.0 起,默认值从 `96MiB` 变更为 `50MiB`

> **警告:**
>
Expand Down
2 changes: 1 addition & 1 deletion tune-region-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Region 的大小可以通过 [`coprocessor.region-split-size`](/tikv-configurati
>
> 当前该功能为实验特性,不建议在生产环境中使用。
Region 调大以后,为了增加查询并发,应当设置 [`coprocessor.enable-region-bucket`](/tikv-configuration-file.md#enable-region-bucket-从-v610-版本开始引入)`true`。这个配置会将每个 Region 划分为更小的区间 bucket,并且以这个更小的区间作为并发查询单位,以提高扫描数据的并发度。bucket 的大小通过 [`coprocessor.region-bucket-size`](/tikv-configuration-file.md#region-bucket-size-从-v610-版本开始引入) 来控制,默认值为 `96MiB`
Region 调大以后,为了增加查询并发,应当设置 [`coprocessor.enable-region-bucket`](/tikv-configuration-file.md#enable-region-bucket-从-v610-版本开始引入)`true`。这个配置会将每个 Region 划分为更小的区间 bucket,并且以这个更小的区间作为并发查询单位,以提高扫描数据的并发度。bucket 的大小通过 [`coprocessor.region-bucket-size`](/tikv-configuration-file.md#region-bucket-size-从-v610-版本开始引入) 来控制。

0 comments on commit 4979a25

Please sign in to comment.