AI engineering glossary · SQL databases

What is MVCC?

MVCC (also called Multi-version concurrency control): Multi-version concurrency control: the database keeps several versions of a row so readers see a consistent snapshot while writers create new versions, meaning readers do not block writers. PostgreSQL and MySQL InnoDB use it.

Level: advancedTopic: SQL databases

MVCC: an example

While a long report reads yesterday's snapshot, new orders keep being inserted without waiting.

Related terms

More SQL databases terms

Where you learn it

MVCC is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.