optimize db after upgrade to prevent performance issues

analyze_new_cluster.sh is generated in the working directory by pg_upgrade which recommends to call it, and for good reason
pull/10780/head
Markus Kahl 3 years ago committed by Oliver Günther
parent 4b5c08fa0f
commit 9bb442c278
  1. 1
      docker/prod/postgres-db-upgrade

@ -31,3 +31,4 @@ fi
cd /var/lib/postgresql
su -m postgres -c "$PGBINNEW/pg_upgrade"
su -m postgres -c "./analyze_new_cluster.sh"

Loading…
Cancel
Save