Using MotherDuck with PlanetScale
Dec 16, 2025Ben Dicken

Summary
This post introduces the integration of the `pg_duckdb` extension for PlanetScale Postgres databases, enabling the use of DuckDB for OLAP workloads. It details how to enable the extension, grant permissions, and connect to MotherDuck for offloading analytics queries. The post highlights the benefits of combining OLTP and OLAP processing and the ability to query external data sources like Parquet and Iceberg.