Skip to content

About the "ttl" policy #5254

Answered by fuyufjh
iventan asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. TTL is a data retention policy for the persisted streaming state as well as materialized views. Once TTL is enabled, the rows (key-value entries) will be invisible after a certain period of time, and will be vacuumed later by the GC process of storage. In our design, TTL is helpful for cleaning out-of-date state to keep the dataset small.

The feature is not stabilized yet. Since it may break some assumptions in the streaming engine, more testing is required to ensure reliability.

BTW, It would be very helpful if you can explain your scenarios or requirements for this feature.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wyhyhyhyh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #5250 on September 09, 2022 14:25.