v.23.9Improvement
New Field 'data_length' Added to information_schema.tables for Disk Size Approximation
Viewinformation_schema.tablesnow has a new fielddata_lengthwhich shows the approximate size of the data on disk. Required to run queries generated by Amazon QuickSight. #55037 (Robert Schulze).
Why it matters
This feature addresses the need for tools like Amazon QuickSight to retrieve table size information directly from ClickHouse, enabling better integration and more informed query generation based on data volume.How to use it
Users can query theinformation_schema.tables view and select the data_length field to obtain the approximate disk size of each table's data. No additional configuration is required.