All Products
Search
Document Center

AnalyticDB:Use external tables for federated analytics of Hadoop data sources

Last Updated:Sep 15, 2026

AnalyticDB for PostgreSQL lets you query Hadoop data—including Hadoop Distributed File System (HDFS) files and Hive tables—directly from SQL using external tables powered by the PXF protocol. This lets you run federated analytics against existing Hadoop clusters without moving data.

Limitations

Constraint Detail
Instance mode Elastic storage mode only
Network The AnalyticDB for PostgreSQL instance and the Hadoop cluster must be in the same virtual private cloud (VPC)
Instance age Elastic storage mode instances created before September 6, 2020 cannot connect to external Hadoop clusters due to incompatible network architecture. Contact Alibaba Cloud technical support to provision a new instance and migrate your data.

Prerequisites

Before you begin, ensure that you have:

  • An AnalyticDB for PostgreSQL instance in elastic storage mode, created on or after September 6, 2020

  • A running Hadoop cluster in the same VPC as the instance

  • A PXF server configured by Alibaba Cloud technical support