Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd committed Sep 19, 2024
1 parent cc48415 commit cec96de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4313,7 +4313,7 @@ EXPLAIN FORMAT='brief' SELECT COUNT(1) FROM t WHERE a = 1 AND b IS NOT NULL;
- 类型:整数型
- 默认值:`0`
- 范围:`[0, 15]`
- 该变量用于设置新建表的默认行分裂分片数。当设置了该变量为非 0 值后,执行 `CREATE TABLE` 语句时,TiDB 会将为允许使用 `PRE_SPLIT_REGIONS` 的表(如,NONCLUSTERED 表)自动设定该属性。详细说明见 [`PRE_SPLIT_REGIONS`](/sql-statements/sql-statement-split-region.md#pre_split_regions)。该变量通常与 [`tidb_shard_row_id_bits`](/system-variables.md#tidb_shard_row_id_bits-从-v840-版本开始引入) 配合使用,用于为新建表进行分片以及 Region 预分裂。
- 该变量用于设置新建表的默认行分裂分片数。当设置了该变量为非 0 值后,执行 `CREATE TABLE` 语句时,TiDB 会为允许使用 `PRE_SPLIT_REGIONS` 的表(如,NONCLUSTERED 表)自动设定该属性。详细说明见 [`PRE_SPLIT_REGIONS`](/sql-statements/sql-statement-split-region.md#pre_split_regions)。该变量通常与 [`tidb_shard_row_id_bits`](/system-variables.md#tidb_shard_row_id_bits-从-v840-版本开始引入) 配合使用,用于为新建表进行分片以及 Region 预分裂。

### `tidb_projection_concurrency`

Expand Down Expand Up @@ -4620,7 +4620,7 @@ EXPLAIN FORMAT='brief' SELECT COUNT(1) FROM t WHERE a = 1 AND b IS NOT NULL;
- 类型:整数型
- 默认值:`0`
- 范围:`[0, 15]`
- 该变量用于设置新建表的默认行 ID 的分片位数。当设置了该变量为非 0 值后,执行 `CREATE TABLE` 语句时,TiDB 会将为允许使用 `SHARD_ROW_ID_BITS` 的表(如 NONCLUSTERED 表)自动设定该属性。详细说明见 [`SHARD_ROW_ID_BITS`](/shard-row-id-bits.md)。
- 该变量用于设置新建表的默认行 ID 的分片位数。当设置了该变量为非 0 值后,执行 `CREATE TABLE` 语句时,TiDB 会为允许使用 `SHARD_ROW_ID_BITS` 的表(如 NONCLUSTERED 表)自动设定该属性。详细说明见 [`SHARD_ROW_ID_BITS`](/shard-row-id-bits.md)。

### `tidb_simplified_metrics`

Expand Down

0 comments on commit cec96de

Please sign in to comment.