1.

If a transaction may obtain locks but may not release any locks then it is in _______ phase(a) Growing phase(b) Shrinking phase(c) Deadlock phase(d) Starved phaseI had been asked this question during an online interview.Enquiry is from Lock Based Protocols topic in division Concurrency Control of RDBMS

Answer»

Correct option is (a) GROWING phase

The BEST EXPLANATION: If a transaction may OBTAIN locks but may not RELEASE any locks then it is in growing phase. Growing phase is a phase in two phased locking protocol.



Discussion

No Comment Found

Related InterviewSolutions