CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following statements about schedules in database:

S1:Dirty read problem is same as write-read conflict.
S2:Unrepeatable reads is also known as read-write conflict

S3:Strict two phase locking may have read-write conflict.

Which of the above statements are correct?

A
Only S1 and S2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
All S1, S2 and S1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Only S1 and S3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Only S2 and S3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A Only S1 and S2
S1:
Dirty read problem is same as write-read conflict in which a transaction is reading a data from a uncommitted transaction
S1 is correct.

S2:
Unrepeatable reads is also known as read-write conflict
S2 is correct

S3:
Strict 2PL can not have read-write conflict,
S3 is incorrect

So option (a) is true.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Heredity
Watch in App
Join BYJU'S Learning Program
CrossIcon