Question
Option 4 : All exclusive locks are held until the transaction commits or aborts / सभी एक्सक्लूसिव लॉक ट्रांजैक्शन के कमिट या अबॉर्ट होने तक रखे जाते हैं
Detailed Solution
सही उत्तर All exclusive locks are held until the transaction commits or aborts / सभी एक्सक्लूसिव लॉक ट्रांजैक्शन के कमिट या अबॉर्ट होने तक रखे जाते हैं है।
Question:
In strict two-phase locking: / स्ट्रिक्ट टू-फेज लॉकिंग में:
Correct Answer: All exclusive locks are held until the transaction commits or aborts / सभी एक्सक्लूसिव लॉक ट्रांजैक्शन के कमिट या अबॉर्ट होने तक रखे जाते हैं
Strict 2PL retains all exclusive (write) locks until commit or abort, guaranteeing strict and recoverable schedules; locks are acquired in the growing phase and only released in the shrinking phase. / स्ट्रिक्ट 2PL सभी एक्सक्लूसिव (राइट) लॉक कमिट या अबॉर्ट तक बनाए रखता है, जिससे स्ट्रिक्ट और पुनर्प्राप्तियोग्य अनुसूचियाँ सुनिश्चित होती हैं; लॉक ग्रोइंग चरण में प्राप्त होते हैं और केवल श्रिंकिंग चरण में मुक्त होते हैं।