Slide 23
Slide 23 text
DB TECH SHOWCASE 2023
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
#dbts2023
更新差分をCDCで抽出する
AWS DMS を利用した差分抽出の場合
AWS Database Migration Service (DMS) はデータソース(RDB)のトランザクションログ
から差分を抽出し、 S3 に差分を出力することが可能
以下のような更新差分ファイルが S3 にPUTされるので、これ適切にS3内にマージする後処理
が必要
I,101,Smith,Bob,4-Jun-14,New York
U,101,Smith,Bob,8-Oct-15,Los Angeles
U,101,Smith,Bob,13-Mar-17,Dallas
D,101,Smith,Bob,13-Mar-17,Dallas
I=Insert, U=Update, D=Delete
を表すフラグ列
参照:
https://docs.aws.amazon.com/ja_jp/dms/latest/userguide/CHAP_Target.S3.html
23