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.
An early look at Postgres 14: Performance and monitoring Improvements
61–70 of 254 posts
Re: An early look at Postgres 14: Performance and monitoring Improvements
#62Earlier quoted context omitted.
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
#63Tangential 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
#64Postgres 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…
Re: An early look at Postgres 14: Performance and monitoring Improvements
#65Postgres 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…
Re: An early look at Postgres 14: Performance and monitoring Improvements
#66Postgres 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…
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.
Re: An early look at Postgres 14: Performance and monitoring Improvements
#67What's going to be the vitess of Postgres? Seems to be the "last" missing piece? Or is that not a focus and fit for PG?
Re: An early look at Postgres 14: Performance and monitoring Improvements
#68What's going to be the vitess of Postgres? Seems to be the "last" missing piece? Or is that not a focus and fit for PG?
The concepts behind Vitess are sufficiently general to simply apply them to PostgreSQL now that PostgreSQL has logical replication. In some ways it can be even better due to things like replication slots being a good fit for these sorts of architectures.
The work to port Vitess to PostgreSQL is quite substantial however. Here is a ticket tracking the required tasks at a high level: https://github.com/vitessio/vitess/issues/7084
Re: An early look at Postgres 14: Performance and monitoring Improvements
#69I'm thinking of using Postgres for a project, but a DBA friend told me operationally it's more challenging than MySQL. Unfortunately, he can't elaborate. Does anyone have real work experience? Or is it based on outdated "PG must manually vacuum frequently"?
Both are a degree more difficult than NoSQL. The main issue is maintaining schema's
Re: An early look at Postgres 14: Performance and monitoring Improvements
#70Earlier quoted context omitted.
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.
having stuff baked in is often a win.