All mock tests are FREE till 31 December — register to save your progress
Unit 5 · Database Management & SQL HTET 2022 PGT Computer Science

In context of deadlock prevention in DBMS, wait-die and wound-wait schemes are ........ techniques.

DBMS में डेडलॉक प्रिवेंशन के संदर्भ में, wait-die तथा wound-wait स्कीम ...... तकनीक है।

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. non-preemptive and preemptive respectivelyक्रमश: नॉन - प्रिम्पटिव तथा प्रिम्पटिव

Explanation

Wait-die: an older transaction waits for a younger one, a younger one dies — nobody is forced to give up a lock, so it is non-preemptive. Wound-wait: an older transaction wounds (rolls back) the younger holder — preemptive.

Wait-die में कोई भी ट्रांजेक्शन किसी से लॉक छीनता नहीं (नॉन-प्रिम्पटिव)। Wound-wait में पुराना ट्रांजेक्शन नए को रोलबैक करा देता है (प्रिम्पटिव)।

More Database Management & SQL questions