Skip to main content
These settings are available in system.settings and are autogenerated from source.

optimize_min_equality_disjunction_chain_length

The minimum length of the expression expr = x1 OR ... expr = xN for optimization

optimize_min_inequality_conjunction_chain_length

The minimum length of the expression expr <> x1 AND ... expr <> xN for optimization

optimize_min_max_from_files

Enables or disables computing min and max of columns from the statistics stored in data files instead of reading the data, for queries whose only aggregate functions are min and max of table columns, without GROUP BY and without filters. It applies to the table function/engine file with the Parquet format (not to files inside archives), for integer (up to 64 bits), date, date-time and decimal columns whose column chunk statistics are present in every row group. Possible values:
  • 0 - Optimization disabled.
  • 1 - Optimization enabled.
Last modified on October 12, 2026