Professional KnowledgeHardIBPS SO IT
In the wait-die scheme, what happens when a transaction requests a lock held by another?
- A. Younger requester waits for older
- B. Older requester waits; younger requester is rolled back
- C. Both wait
- D. Both abort
Correct answer: B. Older requester waits; younger requester is rolled back
Wait-die is non-preemptive: older waits, younger dies.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- In timestamp ordering, a write W(Q) by T is rejected if:
- Which of these is the strongest class of schedules?
- Which ACID properties are primarily enforced by the recovery manager using logs?
- For a file of 30,000 records with block size 1024 bytes and record size 100 bytes (unspanned), the number of blocks is:
- Number of blocks in a sparse index over a file of 1000 blocks where 100 index entries fit per block:
- A relation has 1000 tuples, an attribute A with 50 distinct uniformly distributed values. Estimated tuples for A = c: