It's fine to use old versions while they're still supported, but you don't have that much time left until 9.6 is EOL, so it's definitely a good idea to start planning an upgrade.
In my experience, upgrades have mostly required 3 things:
pg_upgrade
post-upgrade maintenance (reindex/vacuum)
upgrade JDBC drivers for Java software using ancient libraries.
In my experience, yes. 10, 11, and 12 were very easy upgrades. There may be some specific reasons to stay on an older version, but likely it's just laziness.
It's a small company and my bosses like to use old and stable versions. But we also have troubles with the size and performance of the postgres so upgrading would help a lot
All postgres releases are stable, the version that is included in centos is just the one that happened to be current.
That is fine for software that is just quietly ticking in the corner, but anybody actively developing a software product should be running latest release, or close to it, from pgdg repository. Postgres is very good at backwards compatibility. Most core developers have enough consulting experience to veto any change that would cause undue pain while upgrading.
Depends on the Company. With Adobe, I postpone upgrading as long as I can. ALL my workflows break every time. Upgrading only every 2nd or 3rd major release is sufficient pain.
With OS's I try to upgrade as rarely as possible (I'm still running Yosemite) then upgrade only to the version below what is current. I'm really tired of being Apple's beta tester.
There is one thing though - if you upgrade often, then you have workflow established and it is not an issue to do upgrade in case of major issue. If you do it rarely then you need to do all that planning each time you want to do an upgrade.
But there doesn’t need to be a performance gain to justify the expense. Being on a older version of software is its own technical debt that will need to be paid off.
The upgrade from 9.6 to 10 and 10 to 11 are relatively simple. But the tooling and documentation begin rotting once the project has moved on to newer releases. If you try to upgrade several years later and run into issues, you may not find a solution. The maintainers will have already moved on to newer versions and may not have cognitive capacity to help with problems in several-year-old releases.
I know when I say “laziness” it sounds like I’m being cynical, and I am. But the fact is you’re going to pay for the upgrade either way. If you take it as technical debt, the cost could be much greater. So the reason given not to do it is “I don’t want the trouble”, not a rational weighing of paying down the debt now vs later.
The upgrade from 9.6 to 10 and 10 to 11 are relatively simple. But the tooling and documentation begin rotting once the project has moved on to newer releases. If you try to upgrade several years later and run into issues, you may not find a solution.
I generally agree with you, but I'd be concerned if dump-to-SQL and restore-from-SQL could ever fail to produce an identical database as part of an upgrade.
It shouldn't happen, but it can happen. I've seen it with a gin index that had an edge case based on insertion order, causing the index to balance differently, and resulting in radically different performance after the load. Caught it in testing, and the fix was already in the works for a minor release, so it wasn't huge, but memorable.
SUPER easy*. Is weird the reluctance to upgrade free, rock-solid software like postgresql or nginx or linux.
I think the VAST majority of companies need, at most, wait for 6-months after major releases to upgrade.
----
I work in the "enterprise-like" space, but much worse, with customers with no IT department or it is just a guy that sometimes comes and setup things (probably wrongly). With the weirdest mixtures of old and new (old for employees, new for the boss, and that only employee that somehow is smart). With non-sensical rules (like only use plain text passwords for ssh(?)).
Keep old-software is the worst; and the easiest thing that companies could change to improve stuff is to upgrade them, especially because the software I talk about is pretty solid.
---
*Easy it is, but if the deployment has some other mal-practices could be hard. I learn very fast in my career to upgrade all-the-time to new stuff as soon as possible just to be ALWAYS sure the upgrades not hut me badly (after a terrible delay in the move from .NET 1.0 to 1.1 or similar(?) that cost the company A LOT, I don't remember exactly why just remember the pain)
66
u/WJMazepas Sep 24 '20
We still use version 9.6 on my work. I wonder if it's easy making a upgrade to this new version