All Products
Search
Document Center

AnalyticDB:Supported extensions

Last Updated:Mar 28, 2026

AnalyticDB for PostgreSQL supports open source and self-developed PostgreSQL extensions. Use them to add capabilities such as hint-based SQL optimization, job scheduling, cross-database queries, geospatial analysis, full-text search, and bitmap operations directly within your instance.

Usage notes

The extensions listed here are available on the recommended or latest minor version of AnalyticDB for PostgreSQL. If an extension does not appear on the Extensions page of your instance, update the instance to the recommended or latest minor version. For details, see Update the minor version of an instance.

Extensions

The following table lists all supported extensions and their availability across instance modes. Extensions marked as Not supported in a given mode are unavailable in that mode regardless of version.

ExtensionElastic storage mode (V6.0)Elastic storage mode (V7.0)Serverless modeDescription
btree_ginSupportedSupportedSupportedCreates Generalized Inverted Index (GIN) indexes for columns that are suitable for B-tree indexes. Useful when you want GIN-style indexing on data types that normally use B-tree indexes.
btree_gistSupportedSupportedSupportedUses a Generalized Search Tree (GiST) index structure to simulate B-tree behavior.
citextSupportedSupportedSupportedProvides a case-insensitive character string type, eliminating the need to apply lower() on every comparison.
dblinkSupportedSupportedSupportedAccesses other PostgreSQL databases remotely from an AnalyticDB for PostgreSQL session.
fuzzystrmatchSupportedSupportedSupportedProvides fuzzy string matching functions for approximate string comparisons.
ganos_geometrySupportedSupportedNot supportedProvides the GanosBase lightweight geometry extension for storing and querying vector spatial data.
ganos_geometry_sfcgalSupportedSupportedNot supportedProvides the GanosBase lightweight geometry extension with SFCGAL support for advanced 3D geometry operations.
ganos_geomgridSupportedSupportedNot supportedProvides the GanosBase geometry grid extension for spatial grid indexing and discrete global grid systems.
ganos_rasterSupportedSupportedNot supportedProvides the GanosBase raster extension for storing, processing, and analyzing raster data such as satellite imagery.
ganos_spatialrefSupportedSupportedNot supportedProvides the GanosBase spatial reference extension for coordinate system definition and transformation.
ganos_trajectorySupportedSupportedNot supportedProvides the GanosBase trajectory extension for storing and querying moving object data such as GPS tracks.
hllSupportedSupportedSupportedEstimates the cardinality of large datasets using the HyperLogLog algorithm, with low memory overhead compared to exact counts.
hstoreSupportedSupportedSupportedProvides the hstore data type for storing key-value pairs within a single column.
isnNot supportedSupportedNot supportedProvides a data type called isn to support international product numbering standards.
ltreeNot supportedSupportedNot supportedProvides the ltree data type for storing and querying hierarchical tree-structured data.
odps_fdwSupportedSupportedSupportedQueries MaxCompute (ODPS) tables as foreign tables directly from AnalyticDB for PostgreSQL, without data movement.
orafceSupportedSupportedSupportedProvides functions and operators compatible with specific Oracle built-ins, reducing the effort needed to migrate Oracle workloads.
oss_fdwSupportedSupportedSupportedReads from and writes to Object Storage Service (OSS) as foreign tables, enabling direct queries over data in OSS.
pageinspectSupportedSupportedSupportedProvides functions for low-level inspection of database page contents, useful for diagnosing storage and indexing issues.
pg_hint_planSupportedSupportedSupportedOverrides the query planner's decisions using SQL hints, enabling manual optimization of specific queries.
pg_jiebaSupportedSupportedSupportedProvides Chinese word segmentation for full-text search using the Jieba tokenizer.
pg_prewarmNot supportedSupportedNot supportedLoads relation data into the buffer cache to warm up query performance after a database restart.
pg_stat_statementSupportedSupportedSupportedTracks execution statistics for all SQL statements, including execution count, total time, and row counts, for query performance analysis.
pg_trgmSupportedSupportedSupportedProvides trigram-based similarity functions and index operators for fast fuzzy string search.
pgcryptoSupportedSupportedSupportedProvides cryptographic functions for encrypting and decrypting column data to further protect sensitive data.
pldbgapiSupportedSupportedSupportedEnables interactive debugging of PL/pgSQL functions and stored procedures.
postgres_fdwSupportedSupportedSupportedQueries tables in external PostgreSQL databases as foreign tables, supporting cross-database joins and reads.
roaring bitmapSupportedSupportedSupportedProvides compressed bitmap operations using the roaring bitmap algorithm for efficient set computations on large integer datasets.
sslinfoSupportedSupportedSupportedReturns SSL certificate and connection details for the current session, useful for auditing encrypted connections.
tablefuncSupportedSupportedSupportedProvides a table function extension.
tdfuncSupportedSupportedSupportedProvides a subset of Teradata-compatible functions and operators to simplify migration from Teradata.
update_6_0_datatypecast_cSupportedSupportedSupportedEnables implicit data type casting in C to support migration from V4.3 to V6.0.
uuid-osspSupportedSupportedSupportedGenerates universally unique identifiers (UUIDs) using standard algorithms. UUIDs avoid the sequence contention common in distributed writes.
zhparserSupportedSupportedNot supportedProvides Chinese word segmentation for full-text search using the SCWS engine, an alternative to pg_jieba.
Note

The six GanosBase extensions (ganos_geometry, ganos_geometry_sfcgal, ganos_geomgrid, ganos_raster, ganos_spatialref, ganos_trajectory) and zhparser are not available in Serverless mode. The extensions isn, ltree, and pg_prewarm are not available in Elastic storage mode V6.0.