Hello. Is there any way to set up retention for Flow Runs in Prefect OSS? And also something for oth...
t
Hello. Is there any way to set up retention for Flow Runs in Prefect OSS? And also something for other tables in Postgres, such as
log
etc. We found e.g. the
PREFECT_EVENTS_RETENTION_PERIOD="2d"
for
events
table. But is there any good "Overall Retention" setup guide?
n
hi @Tomáš Řehák (realrehi) - because usage patterns are so wildly different in OSS we don't have cleanup operations on by default, but we have guides (and more on the way) for cleaning stuff up https://docs.prefect.io/v3/advanced/database-maintenance https://prefect-bd373955-add-ai-database-cleanup-example.mintlify.app/v3/examples/ai-database-cleanup-with-approval
feel free to let us know if you think itd be useful to add something else specific