gpt4 book ai didi

amazon-web-services - 使用 AWS DMS for Postgres 到 Postgres 数据迁移时如何修复 `column "xlog_position“不存在”错误

转载 作者:行者123 更新时间:2023-12-04 12:00:09 25 4
gpt4 key购买 nike

我正在尝试使用 AWS DMS 迁移和同步 PostgreSQL 数据库,但出现以下错误。

Last Error Task error notification received from subtask 0, thread 0 [reptask/replicationtask.c:2673] [1020487] 
RetCode: "SQL_ERROR SqlState: 42703 NativeError: 1
Message: ERROR: column "xlog_position" does not exist; No query has been executed with that handle; RetCode: SQL_ERROR SqlState: 42P01 NativeError: 1
Message: ERROR: relation "pglogical.replication_set" does not exist; No query has been executed with that handle; RetCode: SQL_ERROR SqlState: 42703 NativeError: 1 Message: ERROR: column "xlog_position" does not exist; No query has been executed with that handle;
Could not find any supported plugins available on source; Could not resolve default plugin; Could not assign a postgres plugin to use for replication; Failure in setting Postgres CDC agent control structure; Error executing command; Stream component failed at subtask 0, component st_0_JX7ONUUGB4A2AR2VQ4FMEZ7PFU ; Stream component 'st_0_JX7ONUUGB4A2AR2VQ4FMEZ7PFU' terminated [reptask/replicationtask.c:2680] [1020487] Stop Reason FATAL_ERROR Error Level FATAL

我使用两个 PostgreSQL 实例作为源和目标。我已经测试并验证了复制实例可以访问这两个数据库实例。目标实例用户具有对数据库的完全访问权限。我是否需要安装任何插件或进行其他配置才能使此迁移设置正常运行?

最佳答案

我按照上面提到的步骤设法解决了这个问题 https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html .

问题是由于我使用的是 DMS 引擎 v3.1.4,它需要一些额外的配置才能启动复制过程。这些说明可以在 https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.v10 找到

如果您遇到此问题,请仔细检查 DMS 复制引擎版本。这可以在资源管理中的复制实例下查看。

关于amazon-web-services - 使用 AWS DMS for Postgres 到 Postgres 数据迁移时如何修复 `column "xlog_position“不存在”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59323593/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com