Question
Option 4 : S is non-recoverable because T2 committed based on T1's uncommitted (later aborted) write / S गैर-रिकवरेबल है क्योंकि T2 ने T1 के अनकमिटेड (बाद में अबॉर्टेड) राइट के आधार पर कमिट किया
Detailed Solution
सही उत्तर S is non-recoverable because T2 committed based on T1's uncommitted (later aborted) write / S गैर-रिकवरेबल है क्योंकि T2 ने T1 के अनकमिटेड (बाद में अबॉर्टेड) राइट के आधार पर कमिट किया है।
Question:
Schedule S: T1 writes X (X: 100→200); T2 reads X (sees 200); T1 aborts; T2 commits. Which statement about S is correct? / शेड्यूल S: T1, X लिखता है (X: 100→200); T2, X पढ़ता है (200 देखता है); T1 अबॉर्ट होता है; T2 कमिट होता है। S के बारे में कौन-सा कथन सही है?
Correct Answer: S is non-recoverable because T2 committed based on T1's uncommitted (later aborted) write / S गैर-रिकवरेबल है क्योंकि T2 ने T1 के अनकमिटेड (बाद में अबॉर्टेड) राइट के आधार पर कमिट किया
Recoverability requires that a transaction commit only after every transaction whose uncommitted data it read has committed. T2 committed after reading T1's dirty value, and T1 then aborted — the database can never be restored to a consistent state reflecting T2's commit, so S is non-recoverable. / रिकवरेबिलिटी अपेक्षा करती है कि लेन-देन तभी कमिट करे जब उसके द्वारा पढ़े गए अनकमिटेड डेटा वाले प्रत्येक लेन-देन ने कमिट कर लिया हो। T2 ने T1 का डर्टी मान पढ़कर कमिट किया और फिर T1 अबॉर्ट हुआ — T2 के कमिट को दर्शाने वाली संगत अवस्था कभी पुनः स्थापित नहीं हो सकती, अतः S गैर-रिकवरेबल है।