Question

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

Option 2 : reads uncommitted data written by another transaction / किसी अन्य ट्रांज़ैक्शन द्वारा लिखे गए अक़मिटेड डेटा को पढ़ता है

Advertisement

Detailed Solution

सही उत्तर reads uncommitted data written by another transaction / किसी अन्य ट्रांज़ैक्शन द्वारा लिखे गए अक़मिटेड डेटा को पढ़ता है है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

A "dirty read" occurs when a transaction: / "डर्टी रीड" तब होता है जब कोई ट्रांज़ैक्शन:

1.
reads data already committed by another transaction / किसी अन्य ट्रांज़ैक्शन द्वारा पहले ही कमिट किए गए डेटा को पढ़ता है
2.
reads uncommitted data written by another transaction / किसी अन्य ट्रांज़ैक्शन द्वारा लिखे गए अक़मिटेड डेटा को पढ़ता है
3.
overwrites data without acquiring a lock / लॉक लिए बिना डेटा को अधिलेखित करता है
4.
fails to release its locks after committing / कमिट के बाद अपने लॉक मुक्त करने में विफल रहता है

Correct Answer: reads uncommitted data written by another transaction / किसी अन्य ट्रांज़ैक्शन द्वारा लिखे गए अक़मिटेड डेटा को पढ़ता है

Reading uncommitted (dirty) data is dangerous because the other transaction may roll back; reading committed data is normal, and (d) describes a lock leak, not a dirty read. / अक़मिटेड (डर्टी) डेटा पढ़ना खतरनाक है क्योंकि दूसरा ट्रांज़ैक्शन रोलबैक कर सकता है; कमिट किया गया डेटा पढ़ना सामान्य है, और (d) लॉक लीक का वर्णन करता है, डर्टी रीड का नहीं।

Downloaded from PrepSnap (prepsnap.in)