Aurora PostgreSQL 引擎:设备上没有 space

Aurora PostgreSQL engine: no space left on device

我正在使用 AWS Aurora PostgreSQL 10.4 引擎。我正在尝试 cluster table ... using index 并收到类似

的错误
could not write block .... of temporary file: no space left on device

如果我正在管理我自己的 PostgreSQL 实例,我会查看 space 在具有 df 的单个卷上可用。 (另请参阅:I get an error "could not write block .... of temporary file no space left on device ..." using postgresql

但是对于 Aurora,AWS 应该管理存储并按需自动扩展它。所以我想知道如果我不自己管理存储,我将如何解决这个问题。我猜测PG引擎的临时存储与Aurora管理的虚拟化存储层是分开的,但不确定如何更改它。

你说得对,Aurora 应该会处理这个问题。如果您的集群中有多个实例,那么您的集群将通过启动故障转移来自我恢复。故障实例也会在后台修复——大部分是自动修复,在极少数情况下由 AWS 操作员修复。

如果您发现问题持续了几分钟以上,那么您应该:

  1. 使用 API/Console
  2. 手动触发故障转移
  3. 让 AWS Support 调查此事是否更频繁。

如果您认为 AWS 错过了您的 SLA,那么也请将其告知他们。

AWS will use commercially reasonable efforts to make Multi-AZ instances available with a Monthly Uptime Percentage (defined below) of at least 99.95% during any monthly billing cycle (the "Service Commitment"). In the event Amazon RDS does not meet the Monthly Uptime Percentage commitment, you will be eligible to receive a Service Credit

文档:https://aws.amazon.com/rds/sla/

Temp space 使用实例上的本地“临时”卷。目前增加 space 的唯一方法是移动到更大的实例大小。