You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/design/2024-05-23-predicate-columns.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
-[Performance Tests](#performance-tests)
27
27
-[Impacts \& Risks](#impacts--risks)
28
28
-[If new predicate columns appear, they cannot be analyzed in time](#if-new-predicate-columns-appear-they-cannot-be-analyzed-in-time)
29
-
-[Use PREDICATE COLUMNS when your workload's query pattern is relatively stable](#use-predicate-columns-when-your-workloads-query-pattern-is--relatively-stable)
29
+
-[Use PREDICATE COLUMNS when your workload's query pattern is relatively stable](#use-predicate-columns-when-your-workloads-query-pattern-is-relatively-stable)
@@ -214,14 +214,14 @@ In the experimental implementation, we introduce a new global variable `tidb_ena
214
214
215
215
But because we decided to track all columns by default, so it becomes unnecessary to use this variable. We will mark it deprecated and remove it in the future.
216
216
217
-
In this feature, we introduce a new global variable `tidb_analyze_default_column_choice` to control whether to use predicate columns or all columns in the analyze process.
217
+
In this feature, we introduce a new global variable `tidb_analyze_column_options` to control whether to use predicate columns or all columns in the analyze process.
218
218
219
219
Users can set this variable to `ALL` or `PREDICATE` to analyze all columns or only predicate columns. The default value will be `PREDICATE` after this feature is fully implemented.
220
220
221
221
```sql
222
-
SET GLOBAL tidb_analyze_default_column_choice='PREDICATE';
222
+
SET GLOBAL tidb_analyze_column_options='PREDICATE';
223
223
224
-
SET GLOBAL tidb_analyze_default_column_choice='ALL';
0 commit comments