Ch. 3
Column-Oriented Storage
Column stores excel at analytics by reading only the columns a query needs.
In a row store, all fields of a record sit together — great for fetching a whole user profile. In a column store, all values for a given field sit together — great for SUM(revenue) across millions of rows.
- Read only columns referenced in SELECT — less I/O.
- Run-length and dictionary encoding compress repetitive column data.
- Vectorized execution processes columns in SIMD-friendly batches.
column storeSnowflakeClickHouseParquetcolumn compressionmaterialized view