Baserow stores audit logs in the database and this can consume a lot of space.
This can be configured using two variables in /app/data/env.sh:
export BASEROW_ROW_HISTORY_RETENTION_DAYS=365
export BASEROW_ENTERPRISE_AUDIT_LOG_RETENTION_DAYS=30 # set this even if not enterprise customer
Be sure to restart the app after making any changes.