

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concept of sql transactions and the acid properties (atomicity, consistency, isolation, durability). It also covers different sql isolation levels (serializable, repeatable read, read committed, read uncommitted) and their implications on data consistency and concurrency.
Typology: Slides
1 / 3
This page cannot be seen from the preview
Don't miss anything!


3
4
Statements see changes made by earlier ones in the same transaction Statements in other concurrently running transactions do not see these changes
Its effects are made final and visible to subsequent transactions
Its effects are undone
5
6
9
10
11
A data item is dirty if it is written by an uncommitted transaction
UPDATE Student SET GPA = 3. WHERE SID = 142; SELECT AVG(GPA) FROM Student; ROLLBACK; COMMIT;
12
Reading the same data item twice can produce different results
FROM Student; UPDATE Student SET GPA = 3. WHERE SID = 142; COMMIT; SELECT AVG(GPA) FROM Student; COMMIT;