Onpremise PostgreSQL database size

Most likely the top 2 tables eat most of the spaces:

page_saves & audit_trail_events

I believe currently Retool self-host neither have data retention policy nor have a handy tool to backup the old data….so those tables will just grow bigger and bigger overtime. Especially, if i understand correctly, page_saves saves the full code of the app on every change / release, so it will consume disk space aggresively.

I have the same concern perviously on this post: