Chapter 10 Flashcards
___________ requires that all operations of a transaction be completed.
Atomicity
__________ means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.
Isolation
All transactions must display __________.
Atomicity, Durability, Consistency, and Isolation
A single-user database system automatically ensures ________________ of the database, because only one transaction is executed at a time.
Serializability and Isolation
The ANSI has defined standards that govern SQL database transactions. Transaction support is provided by two SQL statements: ____________ and ROLLBACK.
COMMIT
ANSI defines four events that signal the end of a transaction. Of the following events, which is defined by ANSI as being equivalent to a COMMIT?
The end of a program is successfully reached.
ANSI defines four events that signal the end of a transaction. Of the following events, which is defined by ANSI as being equivalent to a ROLLBACK?
The program is abnormally terminated.
The implicit beginning of a transaction is ______________.
When the first SQL statement is encountered.
The information stored in the ___________ is used by the DBMS for a recovery requirement triggered by a ROLLBACK statement, a program’s abnormal termination, or a system failure such as a network discrepancy or a disk crash.
Transaction Log
One of the three most common data integrity and consistency problems is ___________.
Lost Updates
_____________ occurs when a transaction accesses data before and after one or more other transactions finish working with such data.
Inconsistent Retrievals
As long as two transactions, T1 and T2, access ____________ data, there is no conflict, and the order of execution is irrelevant to the final outcome.
Unrelated
A ___________ lock prevents the use of any tables in the database from one transaction while another transaction is being processed.
Database-Level
______________ are required to prevent another transaction from reading inconsistent data.
Locks
The ____________ manager is responsible for assigning and policing the locks used by the transactions.
Lock