Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 4 : only after it commits or aborts / केवल कमिट या अबॉर्ट के बाद

Advertisement

Detailed Solution

सही उत्तर only after it commits or aborts / केवल कमिट या अबॉर्ट के बाद है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

Under strict two-phase locking, a transaction releases its exclusive locks — / कठोर द्वि-चरण लॉकिंग के अंतर्गत, ट्रांज़ैक्शन अपने अनन्य (exclusive) लॉक मुक्त करता है —

1.
immediately after its last write operation / इसके अंतिम लेखन के तुरंत बाद
2.
as soon as its shrinking phase begins / जैसे ही इसका संकुचन चरण शुरू होता है
3.
before it enters the shrinking phase / संकुचन चरण में प्रवेश से पहले
4.
only after it commits or aborts / केवल कमिट या अबॉर्ट के बाद

Correct Answer: only after it commits or aborts / केवल कमिट या अबॉर्ट के बाद

Strict 2PL holds all exclusive locks until commit or abort, which is what guarantees recoverable, cascadeless schedules. / कठोर 2PL सभी अनन्य लॉक कमिट/अबॉर्ट तक रखता है, जिससे पुनर्प्राप्तियोग्य अनुसूचियाँ मिलती हैं।

Downloaded from PrepSnap (prepsnap.in)