diff --git a/system-variables.md b/system-variables.md index 692e68da124da..dc42d420927dc 100644 --- a/system-variables.md +++ b/system-variables.md @@ -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 New in v4.0 @@ -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 New in v6.3.0 - Scope: GLOBAL - Persists to cluster: No, only applicable to the current TiDB instance that you are connecting to. diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index e1c12774928d0..80c61eb12c6d4 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -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` New in v6.6.0