Consider database has 3 files, each file has 100 pages and each page has 10 records. Mention the sequence of locking in multiple granularity locking to read records P30 to P70 of file 1.
A
IS on data base, S on file 1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
IS on data base, S on file 2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
IS on data base, X on file 1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
X on data base S on file 1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A IS on data base, S on file 1 All ancestor nodes be locked in intention shared modes and the node be locked in shared mode.