Start learning →

If T1 writes A, T2 reads that new A before T1 commits, and T1 then aborts, T2 has experienced

Aa phantom read anomaly
Ba dirty read of uncommitted data
Can unrepeatable read anomaly
Da lost update problem
Answer & Solution
Correct answer: B. a dirty read of uncommitted data
Reading data written by an uncommitted transaction (which then rolls back) is the textbook dirty read. The value T2 saw was never officially in the database. Phantom involves new rows appearing unrepeatable read involves the same row changing across two reads in the same transaction lost update involves concurrent writes overwriting each other.
Practise this question with Quill — GATE CSE →

Keep practising Database Management Systems

Browse all Database Management Systems questions for GATE CSE, or explore more Computer Science topics.

Start a Database Management Systems lesson →
Related questions