Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: xixirangrang <[email protected]>
  • Loading branch information
LykxSassinator and hfxsd authored Sep 18, 2024
1 parent 24e4472 commit 9d2e277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion best-practices/massive-regions-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Region 默认的大小约为 256 MiB,将其调大也可以减少 Region 个数

> **注意:**
>
> TiDB v8.4.0 开始,Region 的默认大小从 96 MiB 调整为 256 MiB。
> 从 v8.4.0 开始,Region 的默认值从 96 MiB 调整为 256 MiB。
> **警告:**
>
Expand Down
4 changes: 2 additions & 2 deletions best-practices/pd-scheduling-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ Region merge 指的是为了避免删除数据后大量小甚至空的 Region

具体来说,当某个新分裂出来的 Region 存在的时间超过配置项 [`split-merge-interval`](/pd-configuration-file.md#split-merge-interval) 的值(默认 1h)后,如果同时满足以下情况,该 Region 会触发 Region merge 调度:

- 该 Region 大小小于配置项 [`max-merge-region-size`](/pd-configuration-file.md#max-merge-region-size) 的值从 v8.4.0 开始,默认值从 20 MiB 调整为 54 MiB。该变更仅对新集群生效,老集群不生效)
- 该 Region 中 key 的数量小于配置项 [`max-merge-region-keys`](/pd-configuration-file.md#max-merge-region-keys) 的值从 v8.4.0 开始,默认值从 200000 调整为 540000。该变更仅对新集群生效,老集群不生效)
- 该 Region 大小小于配置项 [`max-merge-region-size`](/pd-configuration-file.md#max-merge-region-size) 的值从 v8.4.0 开始,该配置项的默认值从 20 MiB 调整为 54 MiB。该变更仅对新集群生效,已有集群不受影响。
- 该 Region 中 key 的数量小于配置项 [`max-merge-region-keys`](/pd-configuration-file.md#max-merge-region-keys) 的值从 v8.4.0 开始,该配置项的默认值从 200000 调整为 540000。该变更仅对新集群生效,已有集群不受影响。

## 查询调度状态

Expand Down

0 comments on commit 9d2e277

Please sign in to comment.