ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

概念 · 基于 CLF-C02

Database high availability

Multi-AZ instance, Multi-AZ cluster, Aurora, global databases and cross-Region replicas: what each gives you.

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • RDS is a managed relational database. Multi-AZ keeps a standby in another AZ and fails over automatically.
  • Read replicas add read capacity. They are for scaling, not for high availability.
  • Automated backups allow point-in-time restore.
阅读云从业者课程
  • RDS Multi-AZ instance

    Standbys
    1, in another AZ
    Readable?
    No
    Covers
    AZ failure
  • RDS Multi-AZ cluster

    Standbys
    2, in other AZs
    Readable?
    Yes
    Covers
    AZ failure
  • Aurora cluster

    Standbys
    Up to 15 replicas
    Readable?
    Yes
    Covers
    AZ failure
  • Aurora Global Database

    Standbys
    Replicas in other Regions
    Readable?
    Yes
    Covers
    Region failure
  • RDS cross-Region replica

    Standbys
    A replica in another Region
    Readable?
    Yes
    Covers
    Region failure, some data loss
Pick by the failure you must survive.

1 / 2

  • RDS Multi-AZ instance

    Standbys
    1, in another AZ
    Readable?
    No
    Covers
    AZ failure
  • RDS Multi-AZ cluster

    Standbys
    2, in other AZs
    Readable?
    Yes
    Covers
    AZ failure
  • Aurora cluster

    Standbys
    Up to 15 replicas
    Readable?
    Yes
    Covers
    AZ failure

2 / 2

  • Aurora Global Database

    Standbys
    Replicas in other Regions
    Readable?
    Yes
    Covers
    Region failure
  • RDS cross-Region replica

    Standbys
    A replica in another Region
    Readable?
    Yes
    Covers
    Region failure, some data loss
Pick by the failure you must survive.
App
Writer
Replica
Shared storage, 3 AZs
writesreadspromote
Both instances use one storage volume, so a replica can become the writer without copying data.

是什么

An RDS Multi-AZ DB instance has one primary and one standby in another AZ, kept in sync with synchronous replication. The standby cannot serve reads. On failure, RDS switches the DB endpoint DNS name to the standby, so the application reconnects to the same name. An RDS Multi-AZ DB cluster has one writer and two readable standbys in three AZs, with semisynchronous replication. The readers serve queries and are the failover targets.

是什么

Aurora stores data in a cluster volume that spans three AZs, independent of how many instances you run. Up to 15 Aurora replicas read from the same storage, serve reads and act as failover targets. You give each a failover priority. When the writer fails, Aurora promotes a replica, and no data has to be copied because the storage is shared.

是什么

For Region failure, Aurora Global Database replicates storage to secondary Regions, usually under one second behind, and you can promote a secondary after an outage. DynamoDB global tables accept writes in every Region. An RDS cross-Region read replica can be promoted to a stand-alone database, but its replication is asynchronous, so recent writes may be lost. Multi-AZ protects against an AZ failure, not a Region failure.

要记住

  • Multi-AZ instance: synchronous standby, not readable, DNS switch on failover.
  • Multi-AZ cluster: two readable standbys in three AZs.
  • Aurora: shared storage across 3 AZs. Replicas serve reads and are failover targets.
  • Aurora Global Database: secondary Regions, usually under one second behind.

要记住

  • DynamoDB global tables: multi-Region, multi-writer.
  • Read replicas are asynchronous. Promoting one can lose recent writes.

考试中

  • “A standby in another AZ with automatic failover, not used for reads” points to RDS Multi-AZ DB instance.
  • “High availability and more read capacity, still on RDS” points to a Multi-AZ DB cluster or Aurora replicas.
  • “Recover from a Region outage with an RPO of about a second” points to Aurora Global Database.