How to purge or reduce size of APM database in Postgres?