Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Isolation level » ?

Definition 30.20 University Computer Science — Year 2 · Chapitre 30 — Database Design: Dependencies, Normal Forms and Transactions

An isolation level is a promise about which of these anomalies a database system lets transactions see. The SQL standard names four: read uncommitted, read committed, repeatable read and serializable, the last promising that every schedule has the same effect as some serial one.

isolation leveldirty readnon-repeatable readphantom read
read uncommittedpossiblepossiblepossible
read committednopossiblepossible
repeatable readnonopossible
serializablenonono
The standard isolation levels, and the anomalies each allows. A system may give more than a level promises: PostgreSQL’s repeatable read shows no phantoms, and its read uncommitted behaves as read committed.
Lire dans le chapitre →