Zachary Lee

04/28/2023, 7:36 PM
I see that this page details a Flow Run Retention feature: but it's only available for prefect cloud. We are self-hosting prefect but we want to implement something like this. Is it the case that if we delete a flow run, for example via the prefect server python client:
Does that actually delete a) the logs b) any other data associated with that flow run? Also more, generally, is this the recommended approach for managing a growing database size as prefect flow runs accumulate?