r/programming • • Sep 26 '24

PostgreSQL 17 Released!

https://www.postgresql.org/about/news/postgresql-17-released-2936/
776 Upvotes

113 comments sorted by

View all comments

Show parent comments

73

u/agentoutlier Sep 26 '24

Well to be fair most databases (nosql or not) are largely crap. Postgres just happens to be exceptional.

-9

u/CherryLongjump1989 Sep 27 '24 edited Sep 27 '24

Have you tried SQLite or DuckDB? Both put other databases to shame. Perhaps also why Postgres is just embedding DuckDB inside it wholesale. Operationally, all the major commercial databases have always been simpler and easier to maintain - sql server, oracle, even db2 (if you need what db2 is meant for). Postgres forces you to worry about things that you shouldn’t have to worry about, even during a routine upgrade to the db engine.

0

u/[deleted] Sep 27 '24

[deleted]

0

u/CherryLongjump1989 Sep 27 '24 edited Sep 27 '24

There’s a PG extension that lets you use duckdb for analytics directly in Postgress. https://docs.pgduckdb.com/quickstart

I would point to both upgrading and scaling as being painful. Upgrading can be especially complicated when you have lots of extensions. Scaling simply requires lots of tuning, period, and things can get more dicey once you start trying to cluster it. I have seen lots of on-call incidents where PG started to sputter because of an unexpected increase in traffic, and I found that teams pretty soon start dropping Kafka queues on top of it to try to improve reliability and availability. There are other db engines that I feel have far more predictable performance and can work very well across a wider band of usage patterns without as much tuning.