From c2b48779b99b6bc51659b54a9b5713da90870815 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Fri, 17 Dec 2021 08:28:52 -0600 Subject: [PATCH 1/3] system-variables: update from generated source --- system-variables.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 9d7449ada4245..c18b66e17b7a8 100644 --- a/system-variables.md +++ b/system-variables.md @@ -320,6 +320,24 @@ This variable is an alias for `last_insert_id`. - Range: `[0, 65535]` - The port that the `tidb-server` is listening on when speaking the MySQL protocol. +### rand_seed1 + +- Scope: SESSION +- Default value: `0` +- Range: `[0, 2147483647]` +- This variable is used to seed the random value generator used in the `RAND()` SQL function. +- The behavior of this variable is MySQL compatible. + + +### rand_seed2 + +- Scope: SESSION +- Default value: `0` +- Range: `[0, 2147483647]` +- This variable is used to seed the random value generator used in the `RAND()` SQL function. +- The behavior of this variable is MySQL compatible. + + ### skip_name_resolve New in v5.2.0 - Scope: GLOBAL @@ -463,7 +481,7 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a ### tidb_backoff_lock_fast - Scope: SESSION | GLOBAL -- Default value: `100` +- Default value: `10` - Range: `[1, 2147483647]` - This variable is used to set the `backoff` time when the read request meets a lock. From 7071c16ea0214ef97c22ce62da087f7f131656e7 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Fri, 17 Dec 2021 13:55:51 -0600 Subject: [PATCH 2/3] remove excess whitespace --- system-variables.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/system-variables.md b/system-variables.md index c18b66e17b7a8..f4c75f4e2db92 100644 --- a/system-variables.md +++ b/system-variables.md @@ -328,7 +328,6 @@ This variable is an alias for `last_insert_id`. - This variable is used to seed the random value generator used in the `RAND()` SQL function. - The behavior of this variable is MySQL compatible. - ### rand_seed2 - Scope: SESSION @@ -337,7 +336,6 @@ This variable is an alias for `last_insert_id`. - This variable is used to seed the random value generator used in the `RAND()` SQL function. - The behavior of this variable is MySQL compatible. - ### skip_name_resolve New in v5.2.0 - Scope: GLOBAL From 7d4d1e72ac0ed36d45559dfae130cefb8e720460 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Fri, 17 Dec 2021 16:11:53 -0600 Subject: [PATCH 3/3] Fix tidb_store_limit --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index f4c75f4e2db92..ec785b4367488 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1558,7 +1558,7 @@ SET tidb_slow_log_threshold = 200; ### tidb_store_limit New in v3.0.4 and v4.0 -- Scope: INSTANCE | GLOBAL +- Scope: GLOBAL - Default value: `0` - Range: `[0, 9223372036854775807]` - This variable is used to limit the maximum number of requests TiDB can send to TiKV at the same time. 0 means no limit.