Question

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

Option 4 : two or more transactions each wait for a lock held by another transaction in the set / दो या अधिक ट्रांज़ैक्शन में प्रत्येक, समुच्चय के किसी अन्य ट्रांज़ैक्शन के लॉक की प्रतीक्षा करता है

Advertisement

Detailed Solution

सही उत्तर two or more transactions each wait for a lock held by another transaction in the set / दो या अधिक ट्रांज़ैक्शन में प्रत्येक, समुच्चय के किसी अन्य ट्रांज़ैक्शन के लॉक की प्रतीक्षा करता है है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

In a DBMS, a deadlock occurs when: / DBMS में डेडलॉक तब होता है जब:

1.
two transactions read the same data item simultaneously / दो ट्रांज़ैक्शन एक ही डेटा आइटम को एक साथ पढ़ते हैं
2.
a transaction waits forever for a lock held by an already terminated transaction / कोई ट्रांज़ैक्शन पहले ही समाप्त ट्रांज़ैक्शन के लॉक की अनंत प्रतीक्षा करता है
3.
the database buffer pool overflows / डेटाबेस बफर पूल ओवरफ्लो हो जाता है
4.
two or more transactions each wait for a lock held by another transaction in the set / दो या अधिक ट्रांज़ैक्शन में प्रत्येक, समुच्चय के किसी अन्य ट्रांज़ैक्शन के लॉक की प्रतीक्षा करता है

Correct Answer: two or more transactions each wait for a lock held by another transaction in the set / दो या अधिक ट्रांज़ैक्शन में प्रत्येक, समुच्चय के किसी अन्य ट्रांज़ैक्शन के लॉक की प्रतीक्षा करता है

Deadlock is a circular wait: each transaction in a set holds a resource that another transaction in the set is waiting for, so none can proceed. Simultaneous reads use shared locks and do not deadlock. / डेडलॉक एक चक्रीय प्रतीक्षा है: समुच्चय का प्रत्येक ट्रांज़ैक्शन ऐसा संसाधन रखता है जिसकी प्रतीक्षा समुच्चय का कोई अन्य ट्रांज़ैक्शन कर रहा है, अतः कोई आगे नहीं बढ़ सकता। एक साथ पढ़ने से साझा लॉक लगते हैं, डेडलॉक नहीं होता।

Downloaded from PrepSnap (prepsnap.in)