WEEK 6 : Transaction Management Flashcards
What is Transaction Management?
A procedure consisting of one or several SQL statements that must be entirely completed or is will be aborted.
What are the properties of a transaction?
ACID - Atomicity, Consistency, Isolation and Durability.
What is Atomicity?
All operations of the transaction must be completed and if not it is aborted.
What is Consistency?
The transaction must take the database from one consistent state to another.
What is Isolation?
The data of the first transaction cannot be used in the second one, until the first is completed.
What is Durability?
Once a transaction is completed its changes are persistent and survives system failures.
What is a transaction log?
A system maintained table that records information on the changes made in the user tables.
What are the column names of a transaction log?
logId, transId, operation, table, rowId, columnName, before and after