小编pha*_*hok的帖子

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

我收到以下错误:

ERROR: canceling statement due to conflict with recovery.
Detail: User query might have needed to see row versions that must be removed.;
nested exception in org.postgresql.util.PSQLException:ERROR:canceling statement due to conflict with recovery.
Detail: User query might have needed to see row versions that must be removed.
Run Code Online (Sandbox Code Playgroud)

当我们使用长查询时,此错误发生在备用数据库上。我们使用 PostgreSQL 版本 12.0。一台主服务器和两台备用服务器。

您能给我们解决方案吗?

postgresql replication

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

postgresql ×1

replication ×1