These settings are available in system.settings and are autogenerated from the ClickHouse snapshot.
allow_statistics
Allows defining columns with statistics and manipulate statistics.
allow_statistics_optimize
Allows using statistics to optimize queries