PostgreSQL: Joining Heterogeneous Databases is a reality, not a Myth
summary
Claim: PostgreSQL uses SQL‑MED and Foreign Data Wrappers to query and join MySQL, ClickHouse, MongoDB, HDFS and local Postgres tables as if they were local. Demo creates extensions, servers, user mappings and foreign tables, then joins Postgres + MySQL + ClickHouse with subqueries, aggregates and group by and it works. Performance depends on join pushdown (which speeds queries) and on per‑FDW features: mysql_fdw lacks aggregate pushdown so COUNT may pull many rows, while clickhouse_fdw supports complex remote SQL. Connection reuse and basic DML work, but no global two‑phase commit.
AI-written summary · about
chapters (4)
related talks
34mJoining Heterogeneous Databases is a reality, not a Myth
51mUsing Postgres FDW with a sharded PostgreSQL Database
48mData Horizons With Postgres
54mFederating Queries Using postgres_fdw
50mBeyond Foreign Data Wrappers: building a data warehouse from heterogeneous external data sources
52mSharding PostgreSQL using Foreign Data Wrappers
19mFrom OLTP to OLAP: Is PostgreSQL Eating Analytics Too?
49mCan PostgreSQL Compete with Analytics Specialists?
