Exam 10: Transaction Management and Concurrency Control

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

To ensure consistency of the database,every transaction must begin with the database in an unstable state.

(True/False)
4.9/5
(42)

A consistent database is ____.

(Multiple Choice)
4.9/5
(39)

A ____ lock prevents the use of any tables in the database from one transaction while another transaction is being processed.

(Multiple Choice)
4.8/5
(31)

A ____ lock locks the entire diskpage.

(Multiple Choice)
4.9/5
(33)

Incomplete or improper transactions can have a devastating effect on database integrity.

(True/False)
4.9/5
(34)

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.

(True/False)
4.9/5
(40)

The DBMS guarantees that the semantic meaning of a transaction truly represents the real-world event.

(True/False)
4.8/5
(32)

Most real-world database transactions are formed by only one database request.

(True/False)
4.8/5
(43)

A shared lock produces no conflict as long as all the concurrent transactions are read-write only.

(True/False)
4.8/5
(33)

The scheduler establishes the order in which the operations within concurrent transactions are executed.

(True/False)
4.9/5
(29)

Explain the functions of shared and exclusive locks.

(Essay)
4.7/5
(26)

During the ____ phase,a transaction scans the database,executes the needed computations,and makes the updates to a private copy of the database values.

(Multiple Choice)
4.9/5
(43)

Database transaction ____________________ restores a database from an inconsistent state to a previously consistent state.

(Short Answer)
4.9/5
(27)

A ____ lock allows concurrent transactions to access different rows of the same table.

(Multiple Choice)
4.9/5
(33)

If T1 has not unlocked data item Y,T2 cannot begin; if T2 has not unlocked data item X,T1 cannot continue.Consequently,T1 and T2 each wait for the other to unlock the required data item.Such a deadlock is also known as a(n)____________________.

(Short Answer)
4.9/5
(34)

A single-user database system automatically ensures ____ of the database,because only one transaction is executed at a time.

(Multiple Choice)
4.7/5
(29)

The objective of ____________________ control is to ensure the serializability of transactions in a multiuser database environment.

(Short Answer)
4.9/5
(30)

The transaction recovery write-ahead-log protocol ensures that transaction logs are always written before any database data are actually updated.

(True/False)
4.9/5
(41)

When you read from or update a database,you create a transaction.

(True/False)
4.7/5
(34)

The ____________________ interleaves the execution of database operations to ensure serializability.

(Short Answer)
4.7/5
(29)
Showing 41 - 60 of 70
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)