All Questions
Scaling Reads medium

Why are Columnar Databases (like Redshift/Snowflake) faster for Analytics (OLAP) than Row-based Databases (like PostgreSQL)?

  1. A They use faster disks.
  2. B Analytics queries usually aggregate a few columns (e.g., `SUM(Revenue)`). Columnar storage allows reading *only* the 'Revenue' data from disk, skipping all other user data.
  3. C They don't use SQL.
  4. D They cache everything in RAM.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions