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?

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠