Transaction Management, Concurrency Control and Deadlocks
Transaction Management, Concurrency Control and Deadlocks
• Wait-Die Scheme
• Wound-Wait Scheme
Deadlock Avoidance
• Aborting a transaction is not always a
practical approach.
• Instead, deadlock avoidance mechanisms
can be used to detect any deadlock situation
in advance.
• Methods like "wait-for graph" are available
but they are suitable for only those systems
where transactions are lightweight having
fewer instances of resource.
• In a bulky system, deadlock prevention
techniques may work well.