TL;DR
Postgres 18, ClickHouse 26.10 and DuckDB 2.0 all want your analytics workload. How they store, scan and scale — and which one fits your data and your team.
You need to answer analytical questions about your data — dashboards, funnels, weekly reports — and three engines keep showing up in every thread: Postgres, ClickHouse, and DuckDB. All three speak SQL. All three are open source. And all three have just shipped a major release in the last two months, which is why the comparison is worth redoing now: Postgres 18 landed on 25 September 2025, DuckDB 2.0 LTS on 21 October 2026, and ClickHouse 26.10 on 22 October 2026.
The short version: if your app already runs on Postgres and your analytics data is modest, stay on Postgres — the database you already operate beats the database you have to learn. If one analyst needs fast answers over files, DuckDB is the lightest path there is. If you have billions of rows and many people querying at once, that is the workload ClickHouse was built for. The rest of this guide is the evidence behind those three sentences, and the cases where each of them is wrong.
The three engines at a glance
| Postgres 18 | ClickHouse 26.10 | DuckDB 2.0 | |
|---|---|---|---|
| Built for | General-purpose OLTP + analytics | Analytical queries at scale (OLAP) | In-process analytics |
| Storage | Row-oriented heap pages, B-tree indexes | Columnar MergeTree tables, sparse primary index | Single file, or Parquet/CSV read in place |
| Runs as | Server (self-hosted or managed) | Server cluster (self-hosted or ClickHouse Cloud) | Library inside your process — no server |
| Current release | 18, 25 Sep 2025, supported to Nov 2030 | 26.10, 22 Oct 2026; 26.8 LTS supported to Aug 2027 | 2.0 LTS, 21 Oct 2026, supported to Oct 2027 |
| Best at | One database for app + analytics | Wide-table scans, high concurrency | Local analysis, notebooks, ETL scripts |
| Weakest at | Full-table scans over huge data | Frequent updates, heavy joins | Multi-user serving, data bigger than RAM |
Option 1: Postgres 18 — the default that got faster
Postgres is the safe default because it is probably already running. It stores your application data, it handles transactions properly, and your team already knows how to back it up. The analytics question is whether it is fast enough for the reporting workload on top — and Postgres 18, released 25 September 2025, is the first release that changes the answer for scan-heavy queries.
The headline feature is a new asynchronous I/O subsystem: instead of reading from disk one request at a time, Postgres can now issue several reads concurrently for sequential scans, bitmap heap scans, and vacuum. The project says this delivers up to 3× faster reads from storage for those operations — treat that as the project's own claim, not an independent benchmark, but the direction is real: the largest single weakness of Postgres for analytics, slow full-table scans, got a structural fix. The release also adds uuidv7() for time-ordered UUIDs that index better than random ones, virtual generated columns computed at query time, and OAuth authentication. Postgres 18 is supported until November 2030.
For analytics specifically, Postgres has three honest strengths. First, it is one system: the same database that takes orders can answer "orders by region last quarter" without a pipeline, a sync job, or a second bill. Second, it is the most extensible of the three — Citus distributes tables across nodes when a single server stops being enough, and columnar-storage extensions exist for scan-heavy tables. Third, the ecosystem is unmatched: every BI tool, every ORM, and every managed cloud speaks Postgres first.
Its limits are architectural, and no release changes them. Rows are stored whole, so a query that touches three columns of a 105-column table still reads all of them — columnar engines skip the other 102. Postgres is a single-node writer by default, so scaling means read replicas, partitioning, or an extension, each with its own operational cost. And MVCC means updates leave dead rows behind, so a write-heavy table needs regular vacuuming to stay fast. If your analytics table is tens of millions of rows and your queries are selective, Postgres 18 is genuinely good. If it is billions of rows and mostly full scans, you are fighting the storage layout.
Option 2: ClickHouse 26.10 — the columnar specialist
ClickHouse is a column-oriented database built for one job: answering analytical queries over huge tables, fast, for many users at once. It stores each column separately, compresses aggressively, and executes queries in vectorized batches using SIMD instructions. A query that aggregates three columns of a wide table reads only those three columns. Its MergeTree tables sort data by a primary key and keep a sparse index — one index entry per 8,192 rows by default — so a filtered query can skip entire granules of data without reading them.
The release cadence is monthly and calendar-versioned: 26.10 shipped on 22 October 2026 with 104 new features and 225 performance optimizations, and 26.8 is the current long-term support release, supported until August 2027. That cadence is a feature and a tax: you get improvements constantly, and you should budget for regular upgrades, reading the backward-incompatible changes first — 26.10 lists 37 of them.
ClickHouse is the strongest of the three at raw scan throughput and concurrency, and it is the only one of the three designed to be a shared analytics server for a whole company. That is also where its limits live. MergeTree tables are append-optimized: updating or deleting individual rows is a heavy background mutation, not a cheap operation, so ClickHouse suits event and log data far better than data that changes in place. Complex multi-table joins are its weakest query shape — wide denormalized tables are the intended pattern, and joining many normalized tables will disappoint you. And it is the most operationally demanding of the three: a production cluster needs ZooKeeper or ClickHouse Keeper for coordination, careful sort-key design, and someone who understands merges and parts. The managed cloud removes most of that, at a price you should check against your actual query volume rather than assume.
Option 3: DuckDB 2.0 — the analyst in your process
DuckDB is the odd one out: it is not a server at all. It is an in-process analytical database — a library you embed in Python, R, Node, or the CLI — that queries data where it already lives: Parquet and CSV files on disk or in S3, with no ingestion step. For a single analyst, that removes the entire category of work the other two engines require: no server to provision, no data to load, no credentials to hand out.
Version 2.0, released 21 October 2026 and codenamed "Cinnamon Teal", is the project's biggest feature release and a long-term support release, supported until at least October 2027. The headline is asynchronous I/O for Parquet and CSV reads — the I/O layer now keeps multiple requests in flight, which makes queries over object storage like S3 dramatically faster. It also ships a first-class VARIANT type that stores messy JSON in shredded columnar form instead of as text, a polished Quack protocol that lets any DuckDB process serve its databases over the network, triggers, and an agent mode that detects when an AI coding assistant is driving the CLI. The previous LTS, 1.4 from September 2025, added the MERGE statement and a rewritten sorting engine.
DuckDB's limits follow directly from its design. It runs inside one process, so your analytics are bounded by that machine's memory and CPU — a query over data far larger than RAM will spill to disk and slow down. It is a single-writer engine by default: the Quack protocol in 2.0 now lets several processes write to one database, but serving many concurrent users is still not its job, and MotherDuck exists precisely because teams outgrow the single-machine shape. And it has no built-in authentication, no user management, and no replication — if you need those, you are building them yourself. For one analyst, a notebook, or an ETL script, none of that matters. For a company dashboard, all of it does.
How the storage differs
The diagram is the whole argument in one picture. Postgres stores rows: every column of a row sits together in a heap page, which is exactly what a transaction wants and exactly what a scan does not. ClickHouse stores columns: a scan reads only the columns it needs, and the sparse index lets it skip data it will never touch. DuckDB sidesteps the question: there is no server and often no load step at all — it reads the Parquet files where they already are.
That is why the same SQL can be seconds on one engine and minutes on another. The query did not change; the amount of data read did.
What the benchmarks say — and what they do not
The most-cited public benchmark for this comparison is ClickBench: 43 analytical queries against a single 100 GB web-analytics table of 99.9 million rows and 105 columns, run on one AWS c6a.4xlarge instance. On the published results, ClickHouse wins or ties 32 of the 43 queries with a median hot-cache latency of 148 ms, and DuckDB wins or ties 10 with a median of 348 ms — roughly a 2× gap between the two, and an order of magnitude to the next engines. ClickHouse also compresses the dataset smallest, to 14.21 GiB, and loads it in 5 minutes against DuckDB's 2.
Read those numbers with the caveats attached. ClickBench is maintained by ClickHouse, so treat it as a vendor-published leaderboard, not a neutral test — the methodology and scripts are public and reproducible, which is the reason to trust it as far as it goes. It measures one workload: single-table scans, filters, and aggregations, with no joins, no writes, and no concurrent users. That is the workload where columnar engines shine brightest, and it says nothing about Postgres's transactional strengths or about how any of these behave under a hundred simultaneous dashboard users. Use it to confirm the architecture story — columnar wins scans — not as a final ranking. The honest test is your own: load a sample of your data, run your five most common queries, and time them. That takes an afternoon and beats any published table.
-- DuckDB: query Parquet on S3 with no load step
SELECT country, count(*) AS events
FROM read_parquet('s3://your-bucket/events/*.parquet')
WHERE event_date >= '2026-11-01'
GROUP BY country
ORDER BY events DESC
LIMIT 10;-- ClickHouse: the same shape, on a MergeTree table built for it
CREATE TABLE events
(
event_date Date,
country LowCardinality(String),
user_id UInt64
)
ENGINE = MergeTree()
ORDER BY (country, event_date, user_id);The comparison
| Postgres 18 | ClickHouse 26.10 | DuckDB 2.0 | |
|---|---|---|---|
| Query speed, wide scans | Slowest — reads whole rows | Fastest — reads only needed columns | Fast — in-memory, single node |
| Concurrency | Good with replicas | Best — built as a shared server | Weakest — one process, one writer by default |
| Setup effort | Low if already running | Highest — cluster, Keeper, sort keys | Near zero — a library, no server |
| Data size sweet spot | Up to tens of millions of rows | Billions of rows and up | Fits in memory, or streams from files |
| Updates / deletes | Native, transactional | Expensive background mutations | Possible, not the strength |
| Joins | Excellent | Weakest — denormalize instead | Good on one machine |
| Managed option | RDS, Cloud SQL, Neon, Azure | ClickHouse Cloud | MotherDuck |
| When it is the wrong pick | Billion-row scans | Frequently updated rows | Serving many users |
Trade-offs
Postgres's convenience is paid in scan speed. One database for app and analytics is genuinely simpler — one backup, one permission model, one bill — until the analytics queries start competing with the transactions for the same disk and CPU. The usual fix is a read replica or a separate analytics copy, at which point you have two systems anyway and should ask whether the second one should be columnar.
ClickHouse's speed is paid in operations and data shape. It is the fastest engine here and the most demanding to run well. Sort-key choice is a design decision with permanent consequences, mutations are expensive, and the monthly release cadence rewards teams that upgrade on a schedule. If nobody on your team will own the cluster, the managed cloud is the honest price of admission — budget it before you commit, not after.
DuckDB's simplicity is paid in scale. Nothing else in this comparison goes from zero to an answer in five minutes. But that simplicity ends at the edge of one machine: once the data no longer fits in memory, once five people need the same numbers at once, or once you need logins and audit trails, you are rebuilding the server DuckDB deliberately does not include. Plan the exit before you need it — DuckDB reads the same Parquet files your warehouse will, so the migration is usually a change of query engine, not a change of data.
Benchmarks measure the vendor's favorite workload. ClickBench's single-table scans are ClickHouse's home turf. Your workload has joins, writes, and concurrent users, and none of those appear in the table. Run your own queries before you decide.
Recommendation
For most teams, the decision is already made by what exists. If your app runs on Postgres and your analytics data is under ~100 million rows, stay on Postgres 18. The async I/O improvements narrow the gap for scan-heavy reporting, and the operational simplicity of one database outweighs the speed you would gain by adding a second system. Add a read replica for reporting before you add a new engine.
If you are one analyst, or a small team working in notebooks and scripts, start with DuckDB 2.0. It is the fastest path from a question to an answer, it queries your Parquet files in place, and the 2.0 release's async I/O and VARIANT type remove the two most common reasons teams used to outgrow it. When you outgrow one machine, the data is already in open formats — move the queries, not the data.
If you have billions of rows, wide event tables, and many concurrent users, choose ClickHouse 26.10 — preferably the 26.8 LTS release for production, and the managed cloud unless someone on the team will own the cluster. Design the sort key around your most common filters before loading a byte, denormalize aggressively, and treat updates as rare.
If none of the three fits on its own, that is a normal outcome, not a failure: Postgres for the application, plus ClickHouse or DuckDB for analytics, is the most common real-world answer. The engines are complementary, and the data formats between them — Parquet above all — are open.
When not to use each
Do not put billion-row scan workloads on Postgres and expect the application to stay responsive — you will end up with a replica that is really a second system, and you should have chosen a columnar engine for that copy. Do not use ClickHouse for data that updates in place, like user profiles or order states — its mutations are background jobs, not transactions, and you will fight the engine every day. Do not use DuckDB as a shared dashboard backend — no authentication, no concurrent writers by default, and one machine's memory is a hard ceiling that arrives exactly when the dashboard gets popular.
And do not pick any of them on benchmark numbers alone. The published tables measure a single wide table with no joins; your workload is not that table. A one-afternoon test with your own data and your own five most common queries is worth more than every leaderboard combined.
What to do next
This week, run the test that decides it. Take your five most frequent analytical queries and a representative sample of your data — a month of events, or a million rows — and run them in the engine you already have and in the one you are considering. In DuckDB, that is a single query against your Parquet files, as above. In Postgres, run EXPLAIN (ANALYZE, BUFFERS) on your heaviest report and read how much of the time is sequential scans. In ClickHouse, load the sample into a MergeTree table ordered by your most common filter and compare.
If you are building the pipeline around whichever engine wins, our data analytics guide covers the end-to-end shape of an analytics setup, the storage and database guide covers how the storage layer fits together, and the DynamoDB guide covers the very different trade-offs of a key-value store when your access pattern is lookups rather than scans. Start with the test, then read the guide that matches the winner.
Why This Matters
Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.
Trade-offs to Consider
Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.
When NOT to Use This
Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.
Decision Framework
Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.