Live data from Hacker News

An early look at Postgres 14: Performance and monitoring Improvements

pganalyze.com

41–50 of 254 posts

Re: An early look at Postgres 14: Performance and monitoring Improvements

#41

Postgres is one of those pieces of software that’s so much better than anything else, it’s really incredible. I wonder if it’s even possible for competitors to catch up at this point - there’s not a lot of room for improvement in architecture of relational databases any more. I’m starting to think that Postgres is going to be with us for decades maybe even centuries. Do any other entrenched software projects come to…

> Do any other entrenched software projects come to mind?

SQLite.

Re: An early look at Postgres 14: Performance and monitoring Improvements

#42
post #32
post #26

Earlier quoted context omitted.

Pg_upgrade [0] is an official part of postgres and does the binary inplace upgrade for you. You should obviously test before running in production, but it has worked perfectly for us when upgrading a 10+TB cluster from pg11 to pg13 [0] https://www.postgresql.org/docs/current/pgupgrade.html

10TB is basically zero. At that scale you can choose anything and get away with it.

Honestly this just seems like you're waving your e-peen.

Care to give some more details around why and what size of disk usage cause issues for postgres / other db upgrades?

Re: An early look at Postgres 14: Performance and monitoring Improvements

#43

Tangential to this topic: If I have a Django + PG query that takes 1 second and I want to deeply inspect the breakdown of that entire second, where might I begin reading to learn what tools to use and how?

EXPLAIN (ANALYZE, BUFFERS)

Take the result of this and paste it into https://explain.depesz.com/

which will make it human readable.

Understanding this is sometimes very easy, but if you want to understand what they _really_ mean, you can read depesz.com

Re: An early look at Postgres 14: Performance and monitoring Improvements

#45
post #19

Tangential to this topic: If I have a Django + PG query that takes 1 second and I want to deeply inspect the breakdown of that entire second, where might I begin reading to learn what tools to use and how?

I’d start w ‘EXPLAIN query’, if you arent familiar with the output there, you can put it on PEV and get a visualization. https://tatiyants.com/pev/#/plans

agree!! this page is so helpful

Re: An early look at Postgres 14: Performance and monitoring Improvements

#46

Postgres is one of those pieces of software that’s so much better than anything else, it’s really incredible. I wonder if it’s even possible for competitors to catch up at this point - there’s not a lot of room for improvement in architecture of relational databases any more. I’m starting to think that Postgres is going to be with us for decades maybe even centuries. Do any other entrenched software projects come to…

i had to roll back to 9.6 on windows because \COPY is fundamentally broken for large cvs

Re: An early look at Postgres 14: Performance and monitoring Improvements

#47

Postgres is one of those pieces of software that’s so much better than anything else, it’s really incredible. I wonder if it’s even possible for competitors to catch up at this point - there’s not a lot of room for improvement in architecture of relational databases any more. I’m starting to think that Postgres is going to be with us for decades maybe even centuries. Do any other entrenched software projects come to…

I think many mercurial users would disagree with you about git.

Are we talking about market dominance, mind share or the idea that there's no real competition?

MySQL and Oracle exist. Mercurial and perforce exist. I'm not sure it's a terrible stretch to compare git and postures.

Re: An early look at Postgres 14: Performance and monitoring Improvements

#49
post #7

Earlier quoted context omitted.

MySQL 8 is not that far behind in feature parity. And is ahead when it comes to scalability. So I don't see postgres as necessarily standing alone.

No DDL transactions, no materialized views, the list is endless. There's almost no reason to pick MySQL for a new project.

MySQL and mariadb have first class temporal tables. Pg has compile requirement and so cannot use in AWS RDS.

Re: An early look at Postgres 14: Performance and monitoring Improvements

#50
post #46

Postgres is one of those pieces of software that’s so much better than anything else, it’s really incredible. I wonder if it’s even possible for competitors to catch up at this point - there’s not a lot of room for improvement in architecture of relational databases any more. I’m starting to think that Postgres is going to be with us for decades maybe even centuries. Do any other entrenched software projects come to…

i had to roll back to 9.6 on windows because \COPY is fundamentally broken for large cvs

What's the issue? Just on Windows? Mac OS X with 13.2 has no issue for me with the 1.1gigabyte 20million record csv just imported last week, or some bigger ones I did a few months back.
Post reply on HN