Redshift Materialized view on Kinesis Streaming Ingestion not deleting records after retention period

0

I created a Materialised view on Redshift on top of Kinesis Streaming Ingestion with Auto Refresh Yes I set the retention period of my Kinesis Data Stream to 1 day. Even after 2 days I can able to see the older records through the Materialized view in Redshift. I need to know the reason why the records are still visible even after the retention period.

I checked with arrival_timestamp to validate it is older record or not.

MSkalai
已提问 9 个月前482 查看次数
1 回答
0
已接受的回答

The retention period applied only to the Kinesis Data Stream and the Redshift MV will retain the data as incremental refresh is only pulling in new records since last fetch. This is by design as performing analytics on Redshift will most likely need the entire data set. If you need only latest data which matches the data stream then you will need to full refresh the MV.

profile pictureAWS
已回答 9 个月前
profile picture
专家
已审核 2 个月前

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

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

回答问题的准则