Description
Contains information about existing projections in all tables. Thetotal_rows, data_compressed_bytes and data_uncompressed_bytes columns are summed over the active parts of the table that contain the projection, so they are zero until the projection is built, for example by inserts made after it was added or by ALTER TABLE ... MATERIALIZE PROJECTION. For the size of each projection part, see system.projection_parts.
Columns
database(String) — Database name.table(String) — Table name.name(String) — Projection name.type(Enum8(‘Normal’ = 0, ‘Aggregate’ = 1)) — Projection type.total_rows(UInt64) — Total number of rows.data_compressed_bytes(UInt64) — The size of compressed data, in bytes.data_uncompressed_bytes(UInt64) — The size of decompressed data, in bytes.sorting_key(Array(String)) — Projection sorting key.query(String) — Projection query.settings(Map(String, String)) — Projection settings.