All mock tests are FREE till 31 December — register to save your progress
Unit 5 · Database Management & SQL HTET 2022 PGT Computer Science

In context of 2-phase locking protocol in DBMS, a transaction issues lock requests in ......... phase and unlock requests in ........ phase.

डाटाबेस में 2- फेज लॉकिंग के संदर्भ में, एक ट्रांजेक्शन लॉक निवेदन ....... फेज में तथा अनलॉक निवेदन ........ फेज में जारी करता है।

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. Growing, Shrinkingग्रोइंग, श्रिंकिंग

Explanation

In two-phase locking a transaction first acquires locks (growing phase) and, once it releases any lock, can only release (shrinking phase).

टू-फेज लॉकिंग में ट्रांजेक्शन पहले लॉक लेता है (ग्रोइंग फेज) और एक बार लॉक छोड़ने के बाद केवल छोड़ता है (श्रिंकिंग फेज)।

More Database Management & SQL questions