Mason: open-source Postgres read replica built on DuckDB's columnar engine
A team has released Mason, an open-source drop-in replacement for a Postgres read replica powered by DuckDB's columnar compute engine. It began as an attempt to pair Postgres with ClickHouse for faster analytics, but ClickHouse proved hard to tune and its SQL differed too much from Postgres. To pick an alternative, the team tested pg_clickhouse, CedarDB and DuckDB against 5,410 slow hand-written queries drawn from 159 Postgres databases, using synthetic data. DuckDB matched Postgres results on 84.1% of queries, and the team chose it for its permissive license to close the remaining gaps. Mason now matches Postgres on about 96% of the test queries and works with tools such as Metabase, Grafana and Superset, returning a clear error for the rest.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in