Exam 13: Managing Transactions and Concurrency

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

A(n) ____ specifically reserves access to the transaction that locked the object.

Free
(Multiple Choice)
5.0/5
(27)
Correct Answer:
Verified

B

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

Free
(True/False)
4.9/5
(39)
Correct Answer:
Verified

True

____ requires that all operations of a transaction be completed.

Free
(Multiple Choice)
4.7/5
(36)
Correct Answer:
Verified

B

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

(True/False)
4.7/5
(32)

A(n) ____ condition occurs when two or more transactions wait for each other to unlock data.

(Multiple Choice)
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
(25)

Explain the transaction log. What is its function?

(Essay)
4.8/5
(33)

One of the three most common data integrity and consistency problems is ____.

(Multiple Choice)
4.9/5
(36)

A diskpage, or page, is the equivalent of a ____.

(Multiple Choice)
4.8/5
(32)

To determine the appropriate order of the operations, the scheduler bases its actions on concurrency control algorithms, such as ____________________ or time stamping methods.

(Short Answer)
4.9/5
(45)

What is transaction isolation and why it is important?

(Essay)
4.9/5
(36)

In a page-level lock, the DBMS will lock an entire diskpage.

(True/False)
4.8/5
(34)

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

(True/False)
4.9/5
(34)

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

(Multiple Choice)
4.7/5
(45)

All transactions must display ____.

(Multiple Choice)
4.8/5
(31)

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

(Short Answer)
4.8/5
(25)

Lock ____ indicates the level of lock use.

(Multiple Choice)
4.8/5
(27)

A field-level lock allows concurrent transactions to access the same row, as long as they require the use of different fields within that row.

(True/False)
4.7/5
(32)

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.8/5
(27)

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

(True/False)
4.7/5
(36)
Showing 1 - 20 of 70
close modal

Filters

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