Exam 13: Managing Transactions and Concurrency

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

The ____________________ rule states that only one transaction at a time can own an exclusive lock on the same object.

(Short Answer)
4.7/5
(37)

____________________ control is important because the simultaneous execution of transactions over a shared database can create several data integrity and consistency problems.

(Short Answer)
4.8/5
(38)

Serializability means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.

(True/False)
4.8/5
(35)

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?

(Multiple Choice)
4.7/5
(40)

What is a rule that applies to the two-phase locking protocol?

(Multiple Choice)
4.9/5
(32)

____ are required to prevent another transaction from reading inconsistent data.

(Multiple Choice)
4.7/5
(35)

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

(Multiple Choice)
4.9/5
(35)

If a(n) ____________________ is issued before the termination of a transaction, the DBMS will restore the database only for that particular transaction, rather than for all transactions, in order to maintain the durability of the previous transactions.

(Short Answer)
4.8/5
(35)

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

(Short Answer)
4.9/5
(35)

____________________-level locks are less restrictive than database-level locks, but they create traffic jams when many transactions are waiting to access the same table.

(Short Answer)
5.0/5
(36)

What are the three basic techniques to control deadlocks?

(Essay)
4.8/5
(29)

The last step in the write-through technique recovery procedure is to identify the last checkpoint in the transaction log.

(True/False)
4.9/5
(33)

What are database checkpoints?

(Essay)
4.8/5
(29)

Although the DBMS is designed to recover a database to a previous consistent state when an interruption prevents the completion of a required set of transactions, the transactions themselves are defined by the end user or programmer and must be semantically correct.

(True/False)
4.9/5
(40)

A consistent database state is ____.

(Multiple Choice)
4.8/5
(34)

Uniqueness ensures that no equal time stamp values can exist, and ____________________ ensures that time stamp values always increase.

(Short Answer)
4.9/5
(38)

A growing phase in a two-phase lock is when a transaction acquires all the required locks without locking any data.

(True/False)
4.9/5
(42)

Atomicity indicates the permanence of the database's consistent state.

(True/False)
4.9/5
(32)

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

(Multiple Choice)
4.8/5
(36)

How does a shared/exclusive lock schema increase the lock manager's overhead?

(Essay)
4.8/5
(37)
Showing 21 - 40 of 70
close modal

Filters

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