←back to thread

264 points davidgomes | 1 comments | | HN request time: 0.352s | source
Show context
justin_oaks ◴[] No.41875268[source]
My upgrade policy for everything:

Significant security vulnerability? Upgrade

Feature you need? Upgrade

All other reasons: Don't upgrade.

Upgrading takes effort and it is risky. The benefits must be worth the risks.

replies(5): >>41875370 #>>41875465 #>>41876163 #>>41876254 #>>41876707 #
occz ◴[] No.41876707[source]
Upgrading when multiple versions behind is significantly more risky than doing it when the update is relatively fresh.

Additionally, actions done frequently are less risky than actions done rarely, since you develop skills in performing that action as an organization - see high deployment frequency as a strategy of managing deployment risk.

This adds up to continuous upgrading being the least risky option in aggregate.

replies(2): >>41877368 #>>41880107 #
ttfkam ◴[] No.41880107[source]
Upgrading from v11 to v16 is not materially different in Postgres from v14 to v16. Same tools. Same strategies.
replies(1): >>41880280 #
enraged_camel ◴[] No.41880280[source]
We are planning to upgrade from 11 to 17 soon. Even thinking about it is giving me ulcers. Our infra provider said we actually need to upgrade to 13 first, and then to 17. They did not provide a reason.
replies(2): >>41880673 #>>41895330 #
1. fillest ◴[] No.41895330[source]
A personal warning about 17.0 if you use streaming replication: secondary replica leaks memory quite actively. 16.4 is OK.