Actions
Feature #25928
closedReclaim database space during upgrade
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Upgrades
Target version:
-
Description
After database migrations, some space can sometimes be reclaimed. It's good idea to perform database vacuum for postgres on a regular basis as well rather than relying on autovacuum feature. For PostgreSQL do the following as a postupgrade step.
su - postgres -c 'vacuumdb -f -d foreman'
For more context see https://github.com/theforeman/theforeman.org/pull/1285
Actions