Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is The anomalies of isolation?

Ook bekend als: dirty read · non-repeatable read · phantom read · lost update · write skew

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

In a schedule of two transactions T1T_1 and T2T_2: a dirty read is T2T_2 reading a value written by T1T_1 that T1T_1 has not committed; a non-repeatable read is T1T_1 reading the same row twice and getting two values, because T2T_2 changed it and committed in between; a phantom read is T1T_1 running the same query with a condition twice and getting different sets of rows, because T2T_2 inserted or deleted a matching row; a lost update is T1T_1 and T2T_2 both reading a value and both writing a new value computed from it, so that one write erases the other; a write skew is T1T_1 and T2T_2 each reading the same rows, checking a rule over them, and each writing a different row, so that both checks pass and the result breaks the rule.

Lees in het hoofdstuk →