Skip to content

Commit

Permalink
translate two PRs from pingcap/docs-cn (#13409) (#13423)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored May 5, 2023
1 parent 7b80163 commit e2fcf32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count';
- Persists to cluster: Yes
- Default value: `4096`
- Range: `[0, 9223372036854775807]`
- Unit: Bytes
- This variable is used to control the threshold at which the TiDB server prefers to send read requests to a replica in the same availability zone as the TiDB server when [`tidb_replica_read`](#tidb_replica_read-new-in-v40) is set to `closest-adaptive`. If the estimated result is higher than or equal to this threshold, TiDB prefers to send read requests to a replica in the same availability zone. Otherwise, TiDB sends read requests to the leader replica.
### tidb_allow_batch_cop <span class="version-mark">New in v4.0</span>
Expand Down Expand Up @@ -1408,7 +1409,7 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
- `ON` indicates that primary keys are created as clustered indexes by default.
- `INT_ONLY` indicates that the behavior is controlled by the configuration item `alter-primary-key`. If `alter-primary-key` is set to `true`, all primary keys are created as non-clustered indexes by default. If it is set to `false`, only the primary keys which consist of an integer column are created as clustered indexes.
### tidb_enable_ddl
### tidb_enable_ddl <span class="version-mark">New in v6.3.0</span>
- Scope: GLOBAL
- Persists to cluster: No, only applicable to the current TiDB instance that you are connecting to.
Expand Down
2 changes: 1 addition & 1 deletion tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ Configuration items related to read isolation.
- This configuration controls whether the corresponding TiDB instance can become a DDL owner or not.
- Default value: `true`
- Possible values: `OFF`, `ON`
- The value of this configuration will initialize the value of the system variable [`tidb_enable_ddl`](/system-variables.md#tidb_enable_ddl)
- The value of this configuration will initialize the value of the system variable [`tidb_enable_ddl`](/system-variables.md#tidb_enable_ddl-new-in-v630)
- Before v6.3.0, this configuration is set by `run-ddl`.

### `tidb_stmt_summary_enable_persistent` <span class="version-mark">New in v6.6.0</span>
Expand Down

0 comments on commit e2fcf32

Please sign in to comment.