PostgreSQL 16 Released
PostgreSQL 16 Released

PostgreSQL 16 Released!

PostgreSQL 16 Released
PostgreSQL 16 Released!
What would we do without postgres? How does anyone justify another SQL DB these days?
We use SQL Server at work and I really don't get why. It's so expensive. We're hosting it on AWS as well. I can't remember the numbers but it's several times more than a similarly specced postgres and we're only using Standard edition.
I don't think we're really using any features that would stop us moving over, it's really just inertia and in-house knowledge.
You sure know how to bring up the elephant in the room. But mysql is decent enough too, not my favourite, but good enough.
Mariadb, maybe.
It certainly was a strong competitor fifteen years ago. If only they kept pace
Good pun
Can you elaborate? I'm deciding on what type of SQL to use for my lab and am thinking about MySQL. Should we reconsider?
You absolutely should. There are many issues with MySQL but I'll give you a very compelling one.
Let's say you want to use a database transaction while you're modifying your table structure to ensure if something goes wrong your data is screwed (causing you to have to restore a backup, etc).
With MySQL any table alterations will persist even though data modifications will be rolled back.
With Postgres, if you cancel/rollback that transaction it all goes back to exactly how it was before.
Another great example is the unique constraint enforcement.
In Postgres if you want to swap two unique values between two rows, you just put it in a transaction and do it.
In MySQL, you have to set one of the values to a temporary garbage value, then change the other value, then change the temporary garbage value to what it should've been.
Another example, if you have a column that's INT NOT NULL
...
If you insert a NULL, Postgres will give you an error, MySQL will silently insert 0.
Sqlite is simple.
But I get what you mean, for large projects salute is not an option. Its embeddability is unbeatable though. open_database(":memory:")
is so unbelievably convenient.
We use DB2, but mostly because we call it from a mainframe.
I've heard that it doesn't scale well. Something to do with the vacuum process? I don't remember. Personally, I don't really buy it.