From 7fb70c8ab0c593bb53fabe0a444a89e0373d6e46 Mon Sep 17 00:00:00 2001 From: Rustin <29879298+Rustin170506@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:11:07 +0800 Subject: [PATCH] statistics: set the right range for tidb_analyze_partition_concurrency (#18586) --- system-variables.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system-variables.md b/system-variables.md index 56c5834609099..04a3dfdb78c8e 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1119,7 +1119,8 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a - Persists to cluster: Yes - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No - Default value: `2`. The default value is `1` for v7.4.0 and earlier versions. -- This variable specifies the concurrency of reading and writing statistics for a partitioned table when TiDB analyzes the partitioned table. +- Range: `[1, 128]`. Before v8.4.0, the value range is `[1, 18446744073709551615]`. +- This variable specifies the concurrency for writing collected statistics when TiDB analyzes a partitioned table. ### tidb_analyze_version New in v5.1.0 @@ -5012,7 +5013,7 @@ SHOW WARNINGS; - Type: Boolean - Default value: Before v7.2.0, the default value is `OFF`. Starting from v7.2.0, the default value is `ON`. - Specifies whether to remove `ORDER BY` clause in a subquery. -- In the ISO/IEC SQL standard, `ORDER BY` is mainly used to sort the results of top-level queries. For subqueries, the standard does not require that the results be sorted by `ORDER BY`. +- In the ISO/IEC SQL standard, `ORDER BY` is mainly used to sort the results of top-level queries. For subqueries, the standard does not require that the results be sorted by `ORDER BY`. - To sort subquery results, you can usually handle it in the outer query, such as using the window function or using `ORDER BY` again in the outer query. Doing so ensures the order of the final result set. ### tidb_replica_read New in v4.0