Introduction to transaction


What is transaction?

A transaction is a set of instructions which performs a logical unit of transactions on the database, which might modify the contents of the database.

Every transaction should be atomic in nature, i.e. necessarily all the instructions within that transaction must be executed fully or none of them must be executed.

The database must remain in consistent state, always.

A successful transaction can change the database from one consistent state to another.


Comments

Popular posts from this blog

Transaction State Diagram

Normalization – 1NF, 2NF, 3NF, BCNF and 4NF