What is a Transaction?

Transaction can be defined as the logical set of operations that are performed on the databases. It is similar to the transactions that are done by us in our daily lives. An example of a transaction in DBMS can be seen below.

T1

T2

                   Read(A)  
                   A=A-1000  
                   Write(A)  
Read(B)  
                   B=B+1000                    Read(A)
                   Write(B)                    Temp=A*0.01
                   commit                    A=A-temp
                     Write(A)
  Read(B)
                     B=B+ temp
                     Write(B)
                     commit

Cascading Rollback

Cascading rollback is a term that is used in DBMS. It is a concept that is explained in DBMS when we start discussing transactions.

So, let’s discuss briefly the basics that we require to know before studying cascading rollback.

Similar Reads

What is DBMS?

DBMS refers to a Database management system. We can also say that it is the manager of our databases in our computer system....

What is a Transaction?

Transaction can be defined as the logical set of operations that are performed on the databases. It is similar to the transactions that are done by us in our daily lives. An example of a transaction in DBMS can be seen below....

ACID Properties

Transactions follows the acid properties which is a short form of Atomicity, Consistency, Isolation, Durability (ACID).The Acid properties of transaction are defined below:...

What are Schedules?

Schedules are defined as, Time order sequence of two or more transaction....

What is Rollback?

If transaction is failed then we have recovery management system. With the help of rollback , transaction recovery will take place. The rollback will take place with the help of transaction logs. logs are the file that keeps a record of all the activity which is done by the transaction. The rollback undo all the modifications that has taken place during a transaction....

What is Cascading Rollback?

It is formed using two different words which are cascade and Rollback. The word cascade means, “waterfall” and rollback means, “ an act of making an action to change back to what it was before”. Due to the failure of a single transaction a cascade of transaction rollbacks. This is known as cascading rollback. For instance we can refer to the below mentioned transaction....

Frequently Asked Questions on Cascading Rollback

What role do transaction logs play in Rollback?...

Contact Us