The WarehousePG Platform Extension Framework (PXF) gives WarehousePG (WHPG) access to data that lives outside the cluster, in systems like Hadoop, object stores, and external SQL databases. You interact with that external data through external tables, using a readable external table to query it and a writable external table to insert into it, the same way you'd work with any other WHPG table.
A pxf extension and a PXF service run on the coordinator, standby coordinator, and every segment host. When a query touches a PXF external table, each segment's PXF service connects to the external source independently and reads or writes its share of the data in parallel, so a PXF query scales with your cluster rather than routing through the coordinator. See Architecture for how these pieces fit together.
Key features
Broad connector support. Reach Hadoop, object stores such as Amazon S3, MinIO, Azure Blob Storage, and Google Cloud Storage, SQL databases over JDBC, and network file systems.
Multiple data formats. Read and write text, CSV, Avro, JSON, RCFile, Parquet, SequenceFile, and ORC, depending on the connector. See Compatibility for supported sources, formats, and versions.
Parallel, segment-based execution. Each segment's PXF service handles its own portion of the data independently, so performance scales with the number of segments in your cluster.
Full read and write support. Query external data or insert into it using PXF external tables.
Cluster-wide management. The
pxf clustercommand line tool syncs configuration and starts or stops the PXF service across every host from one place. See Managing the PXF cluster for details.
Release notes
Release notes provide information on what's new in each release of PXF for WarehousePG.
Overview
Learn what the WarehousePG Platform Extension Framework (PXF) does and which external sources it connects to.
Installing
Learn how to install the WarehousePG Platform Extension Framework (PXF) package across your WarehousePG cluster.
Configuring and starting
Learn how to configure PXF's runtime environment, initialize it across your cluster, and start the PXF service.
Managing the PXF cluster
Learn how to start, stop, and check the status of PXF, and how to apply a configuration change.
Using the foreign data wrapper
Use the pxf_fdw extension to query PXF-connected data sources through standard Postgres foreign tables instead of external tables.
Connecting to external data
Learn how PXF servers and profiles work, and how to reference them when you create an external table.
Reference
Reference material for PXF configuration files and commands.