Skip to main content
  1. Technology Tags/

Postgresql

PostgreSQL MVCC and Autovacuum Learnings

··1251 words·6 mins
PostgreSQL can let readers and writers work concurrently because of multi-version concurrency control, or MVCC. The trade-off is that an update usually creates a new tuple version instead of replacing the old one in place. A delete also makes a tuple obsolete without immediately removing its storage.