What Postgres can’t do alone, it can tackle with DuckDB.
Denis Magda
Открыть в X@denismagda5 тыс. подписчиков
28 678 просмотров
What Postgres can’t do alone, it can tackle with DuckDB.
The pg_duckdb extension shows how two databases can work hand in hand by querying analytical data with DuckDB and joining it with transactional data in Postgres. The extension embeds DuckDB directly into Postgres. DuckDB literally runs inside a Postgres process.
How it works (see diagram):
1. An app sends a query to Postgres joining portfolio data (Postgres) with historical market data (lakehouse)
2. pg_duckdb detects lakehouse access and delegates execution to DuckDB
3. DuckDB pulls required market data from the lakehouse, queries Postgres tables, and performs the join
4. Postgres returns the final result to the app
Комментарии
Комментарии из оригинального поста в X (Twitter)
Комментариев пока нет
