Project

General

Profile

Actions

Feature #25928

closed

Reclaim database space during upgrade

Added by Martin Bacovsky about 5 years ago. Updated about 1 month ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Upgrades
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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 #1

Updated by Eric Helms about 1 month ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF