Question
Option 3 : 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 (Strict 2PL): / स्ट्रिक्ट टू-फेज़ लॉकिंग (Strict 2PL) में:
Correct Answer: all exclusive locks are held until the transaction commits or aborts / सभी एक्सक्लूसिव लॉक ट्रांज़ैक्शन के कमिट या अबॉर्ट होने तक रखे जाते हैं
Strict 2PL holds all exclusive (write) locks until commit or abort, which guarantees recoverable, cascadeless schedules; it does not prevent deadlocks. / Strict 2PL में सभी एक्सक्लूसिव (राइट) लॉक कमिट या अबॉर्ट तक रखे जाते हैं, जिससे पुनर्प्राप्तियोग्य, कैस्केड-रहित शेड्यूल मिलते हैं; यह डेडलॉक नहीं रोकता।