代码之家  ›  专栏  ›  技术社区  ›  Ketan Modi

PostgreSQL:由于与恢复冲突而取消语句

  •  1
  • Ketan Modi  · 技术社区  · 6 年前

    我在代码中获取此错误,并且我的数据库位于AWS RDS实例上。

    OperationalError: canceling statement due to conflict with recovery DETAIL: User was holding shared buffer pin for too long.

    max_standby_archive_delay = -1
    max_standby_streaming_delay = -1  
    

    但AWS不允许我更改这些值。有没有其他方法来解决这个错误。

    enter image description here

    0 回复  |  直到 6 年前