Chapter 10 Flashcards
Most real-world database transactions are formed by only one database request.
false
The DBMS guarantees that the semantic meaning of a transaction truly represents the real-world event.
false
Atomicity indicates the permanence of the database’s consistent state.
false
The multiuser DBMS must implement controls to ensure serializability and isolation of transactions, in addition to atomicity and durability, in order to guard the database’s consistency and integrity.
true
Durability requires that all portions of the transaction must be treated as a single, logical unit of work in which all operations are applied and completed to produce a consistent database.
false
In a page-level lock, the DBMS will lock an entire diskpage.
true
A shared lock produces no conflict as long as all the concurrent transactions are read-write only.
false
When using an optimistic approach, a transaction reads the database, executes the needed computations, and makes the updates to a private copy of the database values.
true
An optimistic approach is based on the assumption that the majority of the database operations do not conflict.
true
The last step in the write-through technique recovery procedure is to identify the last checkpoint in the transaction log.
false
A transaction is a ____ unit of work that must be either entirely completed or aborted.
timed
practical
-logical
physical
____ means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.
Serializability
Atomicity
-Isolation
Time stamping
All transactions must display ____.
atomicity, consistency, and durability
durability and isolation
consistency, durability, and isolation
-atomicity, durability, consistency, and isolation
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?
Five SQL statements are executed.
-The end of a program is successfully reached.
The program is abnormally terminated.
The database is shut down for maintenance.
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?
Five SQL statements are executed.
The end of a program is successfully reached.
-The program is abnormally terminated.
The database is shut down for maintenance.