Database Transaction basic: ACID properties
Database transaction: A transaction is a unit of program execution that accesses and possibly updates various data items.A transaction has many program segment such as read segment, write segment etc. We combine all segment as a unit and call it database transaction. A transaction require to maintain the following properties. These properties are often called the ACID properties. Given below the ACID properties of a transaction: Atomicity: All operations of a transaction must be completed otherwise the program must aborted. Consistency: Database consistency stats that only valid data will be written to database. Database consistency says that total sum of enter program of a transaction must unchanged. If a transaction violets the database consistency rules, the entire database will be rolled back and the database restored. Isolation: Isolation means multiple transactions occurring at same time but not impact each other execution. A transaction X and another transaction Y occur at...