Mason offers an open-source columnar Postgres read replica
Original title: Show HN: Mason – a lightweight Postgres read-replica, built on columnar storage
The Apache-2.0 Node.js tool syncs selected Postgres tables into DuckDB and exposes agent logins, RBAC, and MCP.
Mason Data released Mason, a single-process Postgres read replica that stores synced data in DuckDB and rewrites queries for analytical speed. Users choose tables and columns and sync on demand, by polling, or by logical replication. It adds per-agent logins, row limits, query logs, and an MCP server. The project’s own benchmarks claim large speedups on aggregations and slower primary-key lookups.
Unconfirmed: Speed claims are the project’s own benchmarks, and it says results will vary.
- Its benchmark says a 10 million-row group-by fell from 15.7 seconds to 0.193 seconds.
- Point lookups were slower than Postgres in the same tests.
- Each agent login can be limited by table, column, row, and source IP.
- Prometheus metrics are exposed at /metrics and health checks at /healthz.
- Products
- MasonDuckDBPostgreSQL
- Organizations
- Mason Data
From the original article
4 min read at masondata.ai
A lightweight drop-in replacement for your Postgres read replica . Same SQL, same answers. But extremely fast for analytical queries.
By tagspace · masondata.ai
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.