AnalyticDB for PostgreSQL is developed by Alibaba Cloud based on PostgreSQL and supports a variety of open source and self-developed extensions. You can use the supported extensions to perform hint-based SQL optimization, job scheduling, and cross-database queries.
Usage notes
The supported extensions in this topic are suitable for the recommended or latest minor version of AnalyticDB for PostgreSQL. If you cannot find an extension on the Extensions page of an AnalyticDB for PostgreSQL instance, we recommend that you update the instance to the recommended or latest minor version. For information about how to update the minor version of an AnalyticDB for PostgreSQL instance, see Update the minor version of an instance.
Extensions
The following table describes the extensions supported by AnalyticDB for PostgreSQL.
Extension name | Elastic storage mode (V6.0) | Elastic storage mode (V7.0) | Serverless mode | Description |
Supported | Supported | Supported | Allows you to create generalized inverted index (GIN) indexes for columns that are suitable for B-tree indexes. | |
Supported | Supported | Supported | Uses a Generalized Search Tree (GiST) index structure to simulate B-tree behavior. | |
dblink | Supported | Supported | Supported | Allows you to remotely access other PostgreSQL databases from a session of an AnalyticDB for PostgreSQL instance. |
Supported | Supported | Supported | Provides a character string type that is case-insensitive called citext. | |
Supported | Supported | Supported | Provides fuzzy match for character strings. | |
Supported | Supported | Not supported | Provides a lightweight geometry extension of GanosBase. | |
ganos_geometry_sfcgal | Supported | Supported | Not supported | Provides a lightweight geometry SFCGAL extension of GanosBase. |
Supported | Supported | Not supported | Provides a geometry grid extension of GanosBase. | |
Supported | Supported | Not supported | Provides a raster extension of GanosBase. | |
Supported | Supported | Not supported | Provides a spatial reference extension of GanosBase. | |
Supported | Supported | Not supported | Provides a trajectory extension of GanosBase. | |
Supported | Supported | Supported | Estimates the numbers of different elements in a HyperLogLog collection. | |
Supported | Supported | Supported | Provides a data type called hstore to store sets of key-value pairs. | |
Not supported | Supported | Not supported | Provides a data type called isn to support international product numbering standards. | |
Not supported | Supported | Not supported | Provides a data type called ltree to store data in a hierarchical tree-like structure. | |
odps_fdw | Supported | Supported | Supported | Allows you to access MaxCompute. |
Supported | Supported | Supported | Provides compatibility with specific Oracle functions. | |
oss_fdw | Supported | Supported | Supported | Allows you to access Object Storage Service (OSS). |
pageinspect | Supported | Supported | Supported | Provides low-level checks on database pages. |
Supported | Supported | Supported | Allows you to modify and optimize SQL statements by using hints to accelerate queries. | |
Supported | Supported | Supported | Allows you to perform Chinese full-text search. | |
Not supported | Supported | Not supported | Allows you to prewarm relation data. | |
Supported | Supported | Supported | Allows you to track the execution statistics of all SQL statements that are executed. | |
Supported | Supported | Supported | Provides functions and operators that can be used to determine the similarity of text and index operators that support fast search for similar strings. | |
Supported | Supported | Supported | Supports encryption algorithm functions and allows you to store encrypted columns to further protect sensitive data. | |
Supported | Supported | Supported | Allows you to use the PL/pgSQL features to develop and debug functions in a simplified manner. | |
Supported | Supported | Supported | Provides a PostgreSQL extension for cross-database queries. | |
Supported | Supported | Supported | Provides a bitmap extension that uses the efficient roaring bitmap algorithm. | |
Supported | Supported | Supported | Allows you to obtain the details of SSL database connections. | |
Supported | Supported | Supported | Provides a table function extension. | |
tdfunc | Supported | Supported | Supported | Allows you to use the subset features of Teradata and the features of functions and operators in Teradata. |
update_6_0_datatypecast_c | Supported | Supported | Supported | Allows you to implicitly convert data types in the C language from V4.3 to V6.0. |
Supported | Supported | Supported | Provides the UUID data type to store universally unique identifiers (UUIDs). UUIDs are more unique than sequences in distributed systems. | |
Supported | Supported | Not supported | Provides a Chinese word segmentation extension. |