Working with PXF
The Greenplum® Platform Extension Framework
Let's say there is a table with sales data over several years. It contains three data types:
- Hot data for the last few months stored in MySQL®.
- Warm data for the last few years stored in Greenplum®.
- Cold data for a longer period stored in S3.
The colder the data, the less often it is accessed.
To distribute data across multiple DBMS's and enable access to it, PXF is used to create external tables, i.e., special objects in Greenplum® that reference tables, buckets, or files from external sources. This section provides guidelines on how to create external tables that reference external DBMS'S.
For such tables, you can specify external data source settings in the SQL query. Alternatively, you can create a source in Managed Service for Greenplum® with the settings you need and provide that source in the SQL query.
Getting started
- In the Managed Service for Greenplum® cluster subnet, set up a NAT gateway and link a routing table.
- In the same subnet, create a security group allowing all incoming and outgoing traffic from all addresses.
Get started with external tables using PXF
-
Add a data source to Managed Service for Greenplum®. The steps needed to add a source depend on the source connection type:
-
Create an external table using PXF.
-
(Optional) Update the default PXF settings.
Greenplum® and Greenplum Database® are registered trademarks or trademarks of VMware, Inc. in the United States and/or other countries.