The PostgreSQL database takes up too much space

The PostgreSQL autovacuum=on setting prevents the database from growing too large and unwieldy. Routine vacuuming is enabled by default.

Verify that autovacuum is set to on.