Migrating partitioned table from postgres to Redshift with pglogical

0

I've created a DMS task of CDC and Full Load, migrating data from postgres 14 to Redshift. According to the documentation, when using pglogical and creating postgres publication with 'publish_via_partition_root' parameter of my partitioned table, changes should be published to the parent table and to to child tables. However, the data is still migrated to the child tables in Redshift and not to the parent table. Am I missing something thats needs to be configured or is it just not possible in DMS?

已提问 2 年前222 查看次数
1 回答
0

Hi,

There are currently some points that should be taken into consideration when using PostgreSQL as a source database in DMS. For the moment, when a partitioned table is detected, the following occurs:

  • The endpoint reports a list of parent and child tables.
  • AWS DMS creates the table on the target as a regular table with the same properties as the selected tables.
  • If the parent table in the source database has the same primary key value as its child tables, a "duplicate key" error is generated.

You can find the full list of limitations when using PostgreSQL as a DMS source on https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.Limitations

Thanks.

AWS
专家
Ziad
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则