Vacuum helps with deletes but updates create new rows and vacuum never cleans up the old ones.
Edit: My statement about updates is not correct, see comments below
Vacuum Full works but it requires a full table lock so we could only use it on select tables for smaller customers. For large tables Vacuum Full can take many minutes and once you need to take downtime pg_dump/pg_restore becomes an option.
Edit: My statement about updates is not correct, see comments below
Vacuum Full works but it requires a full table lock so we could only use it on select tables for smaller customers. For large tables Vacuum Full can take many minutes and once you need to take downtime pg_dump/pg_restore becomes an option.