简体   繁体   English

如何在 Amazon AWS 中确认 Postgres 和 Aurora Postgres 的多可用区

[英]How to confirm Multi-AZ for Postgres and Aurora Postgres in Amazon AWS

I want to use MultiAZ for Postgres and Aurora Postgres databases.我想将 MultiAZ 用于 Postgres 和 Aurora Postgres 数据库。

In the Postgres database configuration tab it shows:在 Postgres 数据库配置选项卡中,它显示:

Multi-AZ多可用区

yes是的

Secondary Zone次要区

ap-south-1a ap-south-1a

But I can't find any reader in the db list overview.但是我在数据库列表概述中找不到任何读者。

Whereas in the Aurora Postgres it shows on the cluster:而在 Aurora Postgres 中,它显示在集群上:

Availability可用性

Multi-AZ多可用区

2 Zones 2区

AND there is a reader in another availability zone without any read access in the db list overview.并且在另一个可用区中有一个阅读器,在数据库列表概述中没有任何读取访问权限。

It's a bit confusing.这有点令人困惑。 Do I have enabled MultiAZ in both?我是否在两者中都启用了 MultiAZ?

It's a bit confusing.这有点令人困惑。 Do I have enabled MultiAZ in both?我是否在两者中都启用了 MultiAZ?

Mutli-AZ in RDS and Aurora works differently. RDS 和 Aurora 中的 Mutli-AZ 工作方式不同。 In Aurora, your fail-over instance is one of the readers.在 Aurora 中,您的故障转移实例是读取器之一。 Thus it does not have a dedicated Multi-AZ option.因此,它没有专用的多可用区选项。

In contrast, in RDS, multi-AZ readers are not used for multi-AZ.相比之下,在 RDS 中,多 AZ读取器不用于多 AZ。 Instead, RDS creates a special db instance, called standby replica (this is not read replica).相反,RDS 创建了一个特殊的数据库实例,称为备用副本(这不是只读副本)。 The main purpose of this standby instance is to be your fail-over in case primary instance fails.此备用实例的主要目的是在主实例发生故障时进行故障转移。 Also the standby can't be used for reading.待机也不能用于阅读。 You can't connect to it.你无法连接到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM