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
gefragt vor 9 Monaten482 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 9 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen