WEEK 6 : Transaction Management Flashcards

1
Q

What is Transaction Management?

A

A procedure consisting of one or several SQL statements that must be entirely completed or is will be aborted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the properties of a transaction?

A

ACID - Atomicity, Consistency, Isolation and Durability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Atomicity?

A

All operations of the transaction must be completed and if not it is aborted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Consistency?

A

The transaction must take the database from one consistent state to another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Isolation?

A

The data of the first transaction cannot be used in the second one, until the first is completed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Durability?

A

Once a transaction is completed its changes are persistent and survives system failures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a transaction log?

A

A system maintained table that records information on the changes made in the user tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the column names of a transaction log?

A

logId, transId, operation, table, rowId, columnName, before and after

How well did you know this?
1
Not at all
2
3
4
5
Perfectly