Compare two table using AWS service

0

Hello All, I have use case which I am trying to implement using serverless services of AWS . I have source table S1 which has some data . We have target table T1 having same columns (with some extra columns ) .Both tables shares same Primary key column.Both table are in same schema in database .Now what is best way to compare two tables for CDC based on Primary key and perform upsert in T1 ?

Also After upsert of data in T1 let say we have found 1 million record got updated . Now we want pass those records to pass through some engine which performs some calculation and update dew extra columns of all those rows . Each row processing can be independent . So how can I achieve this ?

I cannot use lambda because it has limitation of 15 mins and tables are quite big.

질문됨 일 년 전223회 조회
2개 답변
0

This is a fairly standard computer science question - there are many algorithms out there that are available to compare two data sets - I'm sure you've researched this so my answer is more about which service to use.

Given that the Lambda maximum runtime is a limitation, you might consider using Fargate.

profile pictureAWS
전문가
답변함 일 년 전
0

This is more like ETL use case. You could use AWS GLUE services. Glue can read and compare, which is fairly a query, and then it can process or populate additional column based on business requirement. Glue supports multiple framework and programming languages. Glue can read/write from multiple data sources including S3, rdbms, redshift etc. https://docs.aws.amazon.com/glue/latest/dg/what-is-glue.html

AWS
답변함 일 년 전

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

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

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

관련 콘텐츠