Postgres or ClickHouse? Row vs Column Storage, and When Each Wins (opens in new tab)
PostgreSQL and ClickHouse both speak SQL, both call themselves databases, and both will happily store your data. That surface similarity gets teams into trouble, because under the hood they're built for opposite jobs. Picking the wrong one doesn't show up on day one — it shows up six months later when a query that should take 50ms takes 40 seconds. The single distinction that explains almost everything is how rows are laid out on disk. Row storage vs column storage PostgreSQL is row-oriented....
Read the original article