The following table lists all of the extensions supported by AlloyDB Omni 15.7.0.
All of these extensions are available on every AlloyDB Omni instance. To enable any of them, see Enable an extension.
Extension | Description |
---|---|
amcheck |
Provides functions for verifying the logical consistency of the structure of relations, enabling the pg_amcheck application to check for corruption. |
anon |
Helps you hide or replace personally identifiable information (PII) or commercially sensitive data. |
auto_explain |
Enables automatic logging of execution plans of slow statements, for
troubleshooting and more. It provides an automated way to perform the
functionality of the EXPLAIN command.
|
autoinc |
Provides functions for incrementing fields automatically. This trigger stores the next value of a sequence into an integer field. |
bloom |
Provides an index access method based on Bloom filters. |
btree_gin |
Provides sample GIN operator classes that implement B-tree equivalent behavior. |
btree_gist |
Provides GiST index operator classes that implement B-tree equivalent behavior. |
citext |
Provides a case-insensitive character string type citext . |
cube |
Implements a data type cube for representing multidimensional
cubes.
|
dblink |
Provides functions to connect to PostgreSQL databases from within a database session. |
dict_int |
An add-on dictionary template for full-text search that controls the indexing of integers. |
earthdistance |
Provides two approaches to calculating great circle distances on the surface of the Earth. |
fuzzystrmatch |
Provides several functions to determine similarities and distance between strings. |
google_columnar_engine |
Provides the columnar engine feature of AlloyDB Omni, which handles HTAP (hybrid transactional analytical processing) and OLAP (online analytical processing) workloads very efficiently. |
google_db_advisor |
Provides the index advisor feature of AlloyDB Omni, which recommends indexes to speed up query processing. |
google_ml_integration |
Provides functions you use to access Vertex AI prediction endpoints to get predictions in SQL. |
hstore |
Implements the hstore data type for storing sets of key/value
pairs within a single PostgreSQL value.
|
hypopg |
Provides support for hypothetical indexes. |
insert_username |
Provides functions for storing the current user's name into a text field. You can use this function to track which user last modified a row in a database table. |
intagg |
Provides an integer aggregator and an enumerator. |
intarray |
Provides a set of functions and operators for manipulating null-free arrays of integers and performing indexed searches on them. |
ip4r |
Provides data types for IPv4/v6 addresses, and address ranges, plus index support. |
isn |
Provides data types for some international product numbering standards. |
lo |
Support for managing Large Objects (also called LOs or BLOBs). |
ltree |
Implements a data type ltree for representing labels of data
stored in a hierarchical tree-like structure.
|
moddatetime |
Provides functions for storing the current time into a timestamp field. You can use this function to track the last time that a row in a database table was modified.
|
pageinspect |
Inspects the contents of database pages at a low level. |
pg_auto_failover |
Monitors and manages automated failover for a PostgreSQL cluster. It is optimized for simplicity and correctness and supports PostgreSQL 10 and newer. |
pg_bigm |
Provides full text search capability in PostgreSQL using 2-gram (bigram) indexes for faster full text searches. |
pg_buffercache |
Provides a means for examining what's happening in the shared buffer cache in real time. |
pg_cron |
Provides a cron-based job scheduler for PostgreSQL that runs
inside the database as an extension. It uses the same syntax as regular
cron , but it lets you schedule PostgreSQL commands
directly from the database.
|
pg_freespacemap |
Examines the free space map (FSM). |
pg_hint_plan |
Helps you improve PostgreSQL execution plans using hints, which are simple descriptions in SQL comments. |
pg_ivm |
Provides Incremental View Maintenance (IVM) feature for PostgreSQL. |
pg_partman |
Lets you create and manage time-based and serial-based table partition sets. |
pg_prewarm |
Provides a convenient way to load relation data into either the operating system buffer cache or the PostgreSQL buffer cache. |
pg_proctab |
Lets you use pg_top with AlloyDB Omni, and generate reports from the operating system process table. |
pg_repack |
Lets you remove bloat from tables and indexes. Optionally, lets you perform an online CLUSTER (order tables by cluster index). |
pg_similarity |
Provides support for similarity queries on PostgreSQL. |
pg_squeeze |
Removes unused space from a table and optionally uses an index to sort records or rows (tuples) of the table. |
pg_stat_statements |
Provides a means for tracking execution statistics of all SQL statements executed. |
pg_trgm |
Provides functions and operators for determining the similarity of alphanumeric text based on trigram matching, as well as index operator classes that support fast searching for similar strings. |
pg_visibility |
Provides a way to examine the visibility map (VM) and the page-level visibility information of a table. |
pg_wait_sampling |
Provides the ability to collect sampling statistics of wait events. |
pgaudit |
Provides detailed session and object audit logging using the standard
logging facility provided by PostgreSQL. Note that pgaudit in
AlloyDB Omni doesn't work if the logging_collector
parameter is enabled.
|
pgcrypto |
Provides cryptographic functions for PostgreSQL. |
pgfincore |
A set of functions to manage pages in operating system disk cache memory from PostgreSQL. |
pglogical |
Provides logical streaming replication for PostgreSQL using a publish/subscribe model. AlloyDB Omni includes a number of plugins used by the
|
pgrowlocks |
Provides row locking information for the specified table. |
pgstattuple |
Provides various functions to obtain tuple-level statistics. |
pgtap |
Provides a unit testing framework for PostgreSQL, written in PL/pgSQL and PL/SQL. |
pgtt |
Adds support for global temporary tables to your databases. |
vector |
The stock pgvector PostgreSQL extension extension is customized for AlloyDB Omni, and referred to as vector . It supports store generated embeddings in a vector column, generate vector-optimized indexes, and search vector embeddings.
|
plpgsql |
A loadable procedural language for creating functions, procedures and
triggers. You also can use this language for direct execution of code in
DO blocks.
|
plproxy |
Procedural language handler that allows remote procedure calls among PostgreSQL databases, with optional sharding. |
plv8 |
Provides a procedural language for enabling JavaScript. |
postgres_fdw |
Provides a foreign-data wrapper that you can use to access data stored in external PostgreSQL servers. |
postgresql-hll |
Introduces a new data type, hll , which is a HyperLogLog data
structure.
|
prefix |
Provides prefix-matching, plus index support. |
refint |
Includes functions to check foreign key restraints, the referencing table, and the referenced table. |
sslinfo |
Provides information about the SSL certificate that the current client provided when it connected to the instance. |
tablefunc |
Provides various functions that return tables (multiple rows). |
tcn |
Provides a trigger function that notifies listeners of changes to the content of database tables. |
temporal_tables |
Provides support for temporal tables. In databases, a temporal table records the period of time for which a row is valid. |
tsm_system_rows |
Provides the table sampling method SYSTEM_ROWS, which can be used in the TABLESAMPLE clause of a SELECT command. |
tsm_system_time |
Provides the table sampling method SYSTEM_TIME, which can be used in the TABLESAMPLE clause of a SELECT command. |
unaccent |
A text search dictionary that removes accents and other diacritical signs from lexemes. To use this extension with
a PostgreSQL 15 compatible database, specify a |
uuid-ossp |
Provides functions to generate universally unique identifiers (UUIDs) using one of several standard algorithms. |
Logical decoding plugins
In addition to the extensions listed earlier on this page,
AlloyDB Omni supports the following plugins used by the
pglogical
extension for formatting that extension's streamed
output.
Plugin | Description |
---|---|
[decoderbufs]
|
Formats streamed data as [protocol buffers]. |
[pgoutput]
|
PostgreSQL's built-in logical decoding plugin. |
[test-decoding]
|
Formats streamed data into a text format. |
[wal2json] |
Formats streamed data as JSON. |
PostGIS extensions
The following PostGIS extensions are supported, but are not included in AlloyDB Omni:
postgis
postgis_raster
postgis_sfcgal
postgis_tiger_geocoder
postgis_topology
address_standardizer
address_standardizer_data_us
For more information, see Install PostGIS for AlloyDB Omni.
Orafce extensions
AlloyDB Omni does not include the Orafce extension, but you can manually add it to an existing AlloyDB Omni installation by following the instructions in Install Orafce for AlloyDB Omni to provide additional functions and operators from the Oracle database.
Enable an extension
To enable an extension, follow these steps:
Connect to a database in AlloyDB Omni cluster's primary instance.
Run the
CREATE EXTENSION
command. For example, after connecting to your primary instance, you can enable thecitext
extension usingpsql
:mydatabase=> CREATE EXTENSION IF NOT EXISTS citext;
If you're enabling the
pg_stat_statements
extension, run the following command:# ALTER SYSTEM SET shared_preload_libraries=<whatever you want>,pg_stat_statements;
Restart the database to ensure that you can use the extension.