v.22.5New Feature
Show total_rows and total_bytes for temporary tables in system.tables
Show thetotal_rowsandtotal_bytesfields insystem.tablesfor temporary tables. #36401. #36439 (xiedeyantu).
Why it matters
This feature enhances visibility into temporary tables by exposing theirtotal_rows and total_bytes metrics in the system.tables system table. It helps users monitor the size and row count of temporary tables, improving resource tracking and query optimization.How to use it
Users can query thesystem.tables table as usual. The total_rows and total_bytes columns will now include data for temporary tables without requiring any special configuration.