简体   繁体   English

AWS DMS连续复制问题

[英]Issue with AWS DMS continuous replication

I am trying to create a DMS task to migrate data from RDS Postgres instance to S3 bucket. 我正在尝试创建DMS任务以将数据从RDS Postgres实例迁移到S3存储桶。 The full load works all fine, but the continuous replication is failing. 完全加载工作正常,但连续复制失败。 Its giving this error: 它给出了这个错误:

"logical decoding requires wal_level >= logical" “逻辑解码需要wal_level> = logical”

When I checked the system settings from pg_settings, its showing that the setting "wal_level" has value "replica". 当我从pg_settings检查系统设置时,显示设置“wal_level”的值为“replica”。 So I tried to change the setting wal_level, but I am not able to find this setting in the Parameter Group in RDS. 所以我尝试更改设置wal_level,但我无法在RDS的参数组中找到此设置。 My RDS instance is using 9.6 version of parameters. 我的RDS实例使用9.6版本的参数。

When I tried "ALTER SYSTEM SET wal_level TO 'logical'", it fails saying that "must be superuser to execute ALTER SYSTEM command", even though the user is under rds_superuser role. 当我尝试“ALTER SYSTEM SET wal_level TO'logic'”时,即使用户处于rds_superuser角色下,它仍然无法说“必须是超级用户才能执行ALTER SYSTEM命令”。

Please suggest. 请建议。

The Parameter name in Parameter Group is "rds.logical_replication" which needs to be changed to 1. The default value was 0. 参数组中的参数名称为“rds.logical_replication”,需要将其更改为1.默认值为0。

This property changed "wal_level" value to "Logical". 此属性将“wal_level”值更改为“Logical”。

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

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