r/programming • • Sep 24 '20

PostgreSQL 13 Released!

https://www.postgresql.org/about/news/2077/
1.3k Upvotes

236 comments sorted by

View all comments

Show parent comments

5

u/infrul Sep 25 '20

No need to be shy, you posted a really good explanation. Note that although autovacuum is enabled by default, it isn't necessarily so.

1

u/BinaryRockStar Sep 25 '20

My understanding is that vacuuming is a bugbear of PostgreSQL as with a constant high write load it can impact performance substantially. How do other RDBMSes handle MVCC stale row cleanup?

5

u/infrul Sep 25 '20

http://rhaas.blogspot.com/2017/12/mvcc-and-vacuum.html

A constant high write load will impact anything's performance substantially and an RDBMS isn't the best solution for every problem. There are other ways to handle MVCC but they aren't better than the way PostgreSQL does it and they are probably worse. PostgreSQL gives you the ability to fine tune how garbage collection runs to suit a wide variety of uses.

1

u/BinaryRockStar Sep 25 '20

Great, thanks for the info