> To enhance query execution speed, we embedded DuckDB as the execution engine for columnstore queries So is it Postgres or DuckDB that cracked the analytics top ?
Postgres Just Cracked the Top Fastest Databases for Analytics
11–20 of 126 posts
Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#12How is this different from Crunchy Warehouse which is also built on Postgres and DuckDB? https://www.crunchydata.com/products/warehouse
Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#13How is this different from Crunchy Warehouse which is also built on Postgres and DuckDB? https://www.crunchydata.com/products/warehouse
1. Our extension is fully open-source. I believe they've open-sourced bits of their stack. 2. We are unopionated about open table formats: Iceberg and Delta. 3. In v0.2, we will support small write workloads. This will open up time-series and HTAP workloads.
Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#14Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#15> To enhance query execution speed, we embedded DuckDB as the execution engine for columnstore queries So is it Postgres or DuckDB that cracked the analytics top ?
Fast analytic databases need two key things: columnar storage and a vectorized execution engine. We introduce a columnstore table access method in Postgres with data stored in Parquet) and execute queries on those tables using DuckDB.
By leveraging DuckDB's execution engine, we avoid reinventing vectorized query execution while keeping everything managed through Postgres.
More on our architecture: https://www.mooncake.dev/blog/how-we-built-pgmooncake
Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#16Looks like they're currently No. 12 on their cited Clickbench benchmark - so not quite in the top 10 three weeks later.
There are some still low-hanging fruit optimizations we're working on (https://github.com/Mooncake-Labs/pg_mooncake/issues/82), and we'd love to get back to the Top 10.
Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#17Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#18It is not really Postgres, the queries are run on DuckDB. Yeah, DuckDB is really fast for analytical queries.
We embed DuckDB in our extension as the vectorized execution engine on columnstore tables.
Why rebuild a vectorized execution, when DuckDB has a lot of GREAT properties for this workload (similar syntax to Postgres, embedability).
Here's our architecture: https://www.mooncake.dev/blog/how-we-built-pgmooncake
Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#19Re: Postgres Just Cracked the Top Fastest Databases for Analytics
#20It is not really Postgres, the queries are run on DuckDB. Yeah, DuckDB is really fast for analytical queries.
We implement segment-elimination to do so. We even blogged about it: https://www.mooncake.dev/blog/duckdb-parquet