Database Transactions
Database Transactions
Recovery From
The Transaction
Failures
@ Dhanraj Kumar
Transactions and its
operations
1 Read 2 Write
Access data from the Modify data in the
database. database.
3 Commit
Make changes permanent.
Acid Properties
1 Active
The transaction is in progress, executing operations.
2 Partially Committed
The transaction has completed all operations but hasn't been
committed yet.
3 Committed
The transaction is successfully completed, changes are permanent.
4 Aborted
The transaction is rolled back due to an error, changes are undone.
Schedules And Its Types
Serial Schedule Parallel Schedule
Transactions are Transactions are
executed one after executed
another in a specific simultaneously,
order. interleaved.
Serializibility
Undo/Redo
Rollback uncommitted changes and redo
committed changes to ensure consistency.
Thank You !!