All Products
Search
Document Center

AnalyticDB:Limits

Last Updated:Mar 28, 2026

AnalyticDB for PostgreSQL enforces the following limits to maintain instance stability and security.

Operational behavior

AnalyticDB for PostgreSQL manages high availability and security patches for you. Two operational events can briefly interrupt connections:

  • Minor version updates: The instance is read-only during minor version updates. A transient connection interruption of up to 30 seconds may occur after the update completes. Configure your application with a connection pool or automatic reconnection policy to handle this.

  • Failover: The coordinator and compute nodes each run in a primary/secondary high-availability architecture. If the primary node fails, the service switches to the secondary node within 30 seconds. A transient connection interruption of about 30 seconds may occur during the switch. Configure your application with a connection pool or automatic reconnection policy to handle this.

Connection limits

The maximum number of connections depends on your instance mode and compute node specifications.

Elastic storage mode — High-availability Edition

SpecificationMax connections
2 cores, 16 GB300
4 cores, 32 GB600
8 cores, 64 GB1,200
16 cores, 128 GB2,433

Elastic storage mode — High-performance Edition (Basic Edition)

SpecificationMax connections
2 cores, 8 GB133
4 cores, 16 GB300
8 cores, 32 GB600
16 cores, 64 GB1,200

Serverless mode

SpecificationMax connections
4 cores, 16 GB375
8 cores, 32 GB750
16 cores, 64 GB1,500

Storage limits

MetricLimit
Maximum data volume in a column1 GB
Maximum data volume of a databaseVaries based on instance specifications
Maximum data volume of a table128 TB per partition
Maximum volume of Binary Large Object (BLOB) data1 GB
Maximum number of rows in a table2^48
Note

AnalyticDB for PostgreSQL uses the BYTEA data type in place of the BLOB data type.

Schema limits

MetricLimit
Maximum number of columns in a table1,600
Maximum number of tables in a database4.2 billion
Maximum number of columns in a view1,664
Maximum number of columns specified in a SELECT statement1,664
Maximum number of columns in a primary or secondary index32
Maximum number of characters in an object name (database, user, base table, view, index, stored procedure, UDF, UDT, constraint, or column)63
Maximum number of characters in the name of a row, table, or database128

Unsupported features

FeatureStatus
TriggersNot supported
LATERAL joinsNot supported