v.25.11Improvement
Add a new column statistics in system
Add a new columnstatisticsinsystem.columns, indicating the types of statistics built on this table. If a type of statistics is automatically created, it will show as (auto) in the suffix. #89086 (Han Fei).
Why it matters
This feature allows users to easily identify what kinds of statistics are available for table columns, improving transparency and helping optimize query performance by understanding which statistics are gathered, including those automatically created by ClickHouse.How to use it
Query thesystem.columns table to see the new statistics column. For example, use:sql<br>SELECT name, type, statistics FROM system.columns WHERE table = 'your_table_name'<br>