Space management in PostgreSQL deployments


What is the best recommended way to purge really old workflows from our PostgresSQL deployment?
I glanced through documentation and didn’t find concrete recommendation. Sorry if I missed something obvious

Every namespace has a retention period configuration. This defines how long completed workflows stay in DB before being automatically cleaned up.

> tctl -ns default namespace describe
Name: default
Retention: 24h0m0s

The retention period can be updated. The current limitation is that the new retention period applies only to newly completed workflows, so it is not going proactively to clean up workflows that closed before the update. We are working on fixing this.