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/en/using_starrocks/Cost_based_optimizer.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@ The following table describes the default settings. If you need to modify them,
212
212
| statistic_auto_collect_max_predicate_column_size_on_sample_strategy | INT | 16 | When the Auto Full Collection task hits the sampled collection policy, if the table has an unusually large number of Predicate Columns and exceeds this configuration item, the task will not switch to full collection of the Predicate Columns, but maintains to be the sampled collection of all columns. This configuration item controls the maximum value of Predicate Column for this behavior. |
213
213
| statistic_auto_collect_predicate_columns_threshold | INT | 32 | If the number of columns in the table exceeds this configuration during automatic collection, only the column statistics for the Predicate Column will be collected. |
214
214
| statistic_predicate_columns_persist_interval_sec | LONG | 60 | The interval at which FE synchronize and persists statistics of Predicate Column. |
215
-
| statistic_predicate_columns_ttl_hours | LONG | 24 | The elimination time of the Predicate Column statistics cached in FE. |
215
+
| statistic_predicate_columns_ttl_hours | LONG | 24 | The TTL in hours for Predicate Column entries in FE; vacuum removes older data. A negative value disables vacuum. |
216
216
| enable_predicate_columns_collection | BOOLEAN | TRUE | Whether to enable predicate columns collection. If disabled, predicate columns will not be recorded during query optimization. |
217
217
| enable_manual_collect_array_ndv | BOOLEAN | FALSE | Whether to enable manual collection for the NDV information of the ARRAY type. |
218
218
| enable_auto_collect_array_ndv | BOOLEAN | FALSE | Whether to enable automatic collection for the NDV information of the ARRAY type. |
@@ -250,7 +250,7 @@ Parameter description:
250
250
-`PREDICATE COLUMNS`: Collect statistics from only Predicate Columns. Supported since v3.5.0.
251
251
-`MULTIPLE COLUMNS`: Collects joint statistics from the specified multiple columns. Currently, only manual synchronous collection of multiple columns is supported. The number of columns for manual statistics collection cannot exceed `statistics_max_multi_column_combined_num`, the default value is `10`. Supported since v3.5.0.
252
252
253
-
-[WITH SYNC | ASYNC MODE]: whether to run the manual collection task in synchronous or asynchronous mode. Synchronous collection is used by default if you do not specify this parameter.
253
+
-`WITH SYNC | ASYNC MODE`: whether to run the manual collection task in synchronous or asynchronous mode. Synchronous collection is used by default if you do not specify this parameter.
254
254
255
255
-`PROPERTIES`: custom parameters. If `PROPERTIES` is not specified, the default settings in the `fe.conf` file are used. The properties that are actually used can be viewed via the `Properties` column in the output of SHOW ANALYZE STATUS.
256
256
@@ -318,7 +318,7 @@ Parameter description:
318
318
319
319
-`col_name`: columns from which to collect statistics. Separate multiple columns with commas (`,`). If this parameter is not specified, the entire table is collected. This parameter is required for histograms.
320
320
321
-
-[WITH SYNC | ASYNC MODE]: whether to run the manual collection task in synchronous or asynchronous mode. Synchronous collection is used by default if you not specify this parameter.
321
+
-`WITH SYNC | ASYNC MODE`: whether to run the manual collection task in synchronous or asynchronous mode. Synchronous collection is used by default if you not specify this parameter.
322
322
323
323
-`WITH N BUCKETS`: `N` is the number of buckets for histogram collection. If not specified, the default value in `fe.conf` is used.
0 commit comments