Columnar storage
Storage layout: data stored per column instead of per row. Optimal for analytics — query like SELECT AVG(price) FROM trades reads only the price column, not whole rows. Standard in data warehouses.
Compression excellent: values within a column are similar (all integers, all in same date range) → 10-50x compression possible. Vectorized execution: SIMD instructions can process hundreds of values in parallel. ClickHouse, DuckDB, Snowflake, BigQuery, Redshift are columnar. Parquet + ORC are columnar file formats. Trade-off: bad for row-by-row OLTP (insert a new trade = write N column files). Hybrid: PostgreSQL extensions (Citus, hydra) put column-store tables next to row-stores.