Availability and reliability

更新时间: 2026-11-23 21:05:11

AnalyticDB for PostgreSQL protects your data and keeps instances running through three complementary layers: dual-replica compute redundancy, triple-replica disk storage, and remote backup. Each layer addresses a different class of failure — from a single node crashing to a full data center outage.

Failure scenario Protection mechanism
Single compute node failure Dual-replica primary/secondary architecture
Individual disk failure Triple-replica (triple-modular redundancy) disk storage
Data center outage or accidental deletion Remote backup and restoration

How it works

AnalyticDB for PostgreSQL is a distributed database based on an MPP architecture. Distributed systems improve performance by distributing workloads, but this also increases the probability of node failures. They typically use multiple replicas to keep providing services when some nodes fail. AnalyticDB for PostgreSQL uses a dual-replica architecture. As long as a compute node in one replica set is available, the instance can continue providing services normally. In addition to the primary and secondary replicas, AnalyticDB for PostgreSQL uses three data replicas on cloud disks in public cloud deployments to ensure data reliability. Three redundant copies of each piece of data are distributed across storage to further protect against data loss. In hybrid cloud deployments, RAID arrays on physical machine disks provide data redundancy with the same effect.

Remote backup

For data center-level failures or accidental data deletion — scenarios where local redundancy is not sufficient — AnalyticDB for PostgreSQL stores remote backups that you can use to restore your instance.

Automatic failover and recovery

AnalyticDB for PostgreSQL continuously monitors the health of instance nodes in real time. If a primary compute node fails, a hot replica replaces the failed node to ensure instance availability. AnalyticDB for PostgreSQL also proactively recovers failed nodes according to the failure scenario to ensure that the instance maintains multiple replicas. For example, if a physical machine that hosts compute nodes fails, the affected nodes are automatically migrated to a new machine. If the machine that hosts a compute node is healthy but the process crashes, the process is restarted on the same machine.

Backup and restoration

Remote backup protects against data center-level failures and accidental data deletion.

Supported backup types

Backup type Status Impact on running workloads
Full logical backup Available —
Incremental backup Coming soon No data locking; minimal impact

Incremental backup, once available, will complement full logical backup by reducing disruption to running workloads.

Restoration granularity

Restore data at the granularity that matches your situation:

Granularity Description
Instance Restore the entire instance from a backup
Database Restore a specific database within an instance
Schema Restore a specific schema within a database
上一篇: Scalability 下一篇: Advanced features