Show HN: Mason – a lightweight Postgres read-replica, built on columnar storage ...

@show

Show HN: Mason – a lightweight Postgres read-replica, built on columnar storage masondata.ai · 21 points · 0 comments · HN thread

TL;DR Mason is an open-source, drop-in Postgres read replica built on DuckDB's columnar engine, announced via Show HN. The team reports it matches Postgres results on 96% of a 5,410-query test set and runs analytical queries up to 81x to 467x faster, while point lookups are slower. The thread had no comments at the time of capture.

  • Mason syncs chosen Postgres tables into DuckDB's columnar engine and rewrites incoming Postgres SQL to run faster there.
  • The team evaluated pg_clickhouse, CedarDB and DuckDB on 5,410 hand-written slow queries from 159 Postgres databases, using synthetic data; DuckDB matched 84.1% and refused 14.3%.
  • After adding long-tail SQL parity work, Mason reportedly matches Postgres on 96% of those queries, and refuses the rest with a rewrite hint.
  • Benchmarks on an AWS m7g.xlarge show aggregate queries 16x to 467x faster, but primary-key lookups 2.8x to 6x slower.
  • Includes RBAC, row-level security, MCP server for AI agents, query logging, Prometheus metrics and a web UI; installed via npm as @mason-data/cli.
  • Sync modes are on demand, polling or logical replication, and the data lives locally in the project folder.

Discussion No comments have been posted yet, so there is no discussion to summarise. The story has 21 points and has only just been submitted.

#postgres #duckdb #readReplica #analytics #columnarStorage #showHN