Show HN: A Postgres read-replica, but 10-50x faster for analytical queries
Category: database
Tags: postgres, duckdb, analytics, read-replica, sql, ai-agents
Score: 7.3/10 (Innovation: 7, Technical: 8, Documentation: 7, Utility: 7)
Mason is a single-process read replica that syncs selected Postgres tables into DuckDB and transparently rewrites incoming Postgres SQL to run on DuckDB's columnar engine, delivering large speedups for analytical queries while preserving Postgres semantics. It supports on-demand, polling, and logical replication sync modes, plus role-based access control and MCP support aimed at AI agents. The careful attention to Postgres compatibility, exactness refusal, and a large query oracle makes it a technically substantive alternative to traditional replicas.
Target audience: backend developers, data engineers, devops, platform engineers
Repository: https://github.com/embeddable-hq/mason-data · TypeScript · Apache-2.0 · 1 stars
View on Hacker News