Analysis of Two Way Waiting Algorithm in Databases
Database is the well-organized collection of data in a meaningful way that user can perform the transaction. Transaction is a sequence of many actions considered to be atomic. The throughput of the transactions can be increased by performing the transactions in parallel. Transactions are performed in parallel without infringing the data integrity. When the transactions are executing in parallel then this will lead to concurrency in database and deadlock of the transaction. This work is done to prevent the occurrence of deadlock and also improves system performance by diminish the number of restarts transaction which also saves the time and cost for performing the transaction in the system. So, it improves the efficiency of the distributed system.