From bceaf646ab36ec5c1a60e77842b57dcfcba1a73f Mon Sep 17 00:00:00 2001 From: lilin90 Date: Mon, 3 Mar 2025 17:28:25 +0800 Subject: [PATCH 1/2] Update system-variables.md --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 8048345c154c9..a58773c9a108b 100644 --- a/system-variables.md +++ b/system-variables.md @@ -2016,7 +2016,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; - Persists to cluster: Yes - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No - Type: Boolean -- Default value: `OFF` +- Default value: `ON`. Before v8.x.0, the default value is `OFF`. - This variable controls whether to enable TiDB to collect `PREDICATE COLUMNS`. After enabling the collection, if you disable it, the information of previously collected `PREDICATE COLUMNS` is cleared. For details, see [Collect statistics on some columns](/statistics.md#collect-statistics-on-some-columns). ### tidb_enable_enhanced_security From 9eaff783b698ebaab6986f60f1829ea8ec79ccbe Mon Sep 17 00:00:00 2001 From: lilin90 Date: Mon, 3 Mar 2025 17:36:31 +0800 Subject: [PATCH 2/2] Update system-variables.md --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index a58773c9a108b..c7ca2d78fb5bb 100644 --- a/system-variables.md +++ b/system-variables.md @@ -2010,7 +2010,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; > **Warning:** > -> Starting from v8.3.0, this variable is deprecated. TiDB tracks predicate columns by default. For more information, see [`tidb_analyze_column_options`](#tidb_analyze_column_options-new-in-v830). +> Starting from v8.3.0, this variable is deprecated. TiDB tracks predicate columns **by default**, and the behavior is not affected by the value of this variable. For more information, see [`tidb_analyze_column_options`](#tidb_analyze_column_options-new-in-v830). - Scope: GLOBAL - Persists to cluster: Yes