bcgov / wps

Wildfire Predictive Services to support decision making in prevention, preparedness, response and recovery
Apache License 2.0
41 stars 9 forks source link

Update Postgres DB to v. 16 #2365

Open NicolasLivanos opened 2 years ago

NicolasLivanos commented 2 years ago

Describe the task We need to update our Postgres DB - we're now 2 major versions behind. First upgrade to postgres 15, then to postgres 16. Also, our current version of postGIS is 3.2, which is supported (don't need to update it twice)

Acceptance Criteria

Additional Context

Image

NicolasLivanos commented 2 years ago

Hey team! Please add your planning poker estimate with Zenhub @andrea-williams @conbrad

dgboss commented 4 months ago

PGUpgrade does not support upgrading a postgis cluster. The crunchy-upgrade container image also does not support upgrading a postgis cluster. We might be stuck with a pg_dump from the v14 cluster and a pg_restore into a new v15 cluster. This requires some downtime so would need to be done outside of fire season.

Putting this on the back burner for now.

conbrad commented 2 months ago

FYI: https://chat.developer.gov.bc.ca/channel/crunchydb?msg=jJv6x47Bh92FwXfxv