Exam 10: Transaction Management and Concurrency Control

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

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

Free
(Short Answer)
4.9/5
(30)
Correct Answer:
Verified

locking

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.8/5
(24)
Correct Answer:
Verified

True

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

Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
Verified

C

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?

(Multiple Choice)
4.9/5
(29)

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

(Multiple Choice)
4.8/5
(39)

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

(True/False)
4.8/5
(38)

In the optimistic approach,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
(35)

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

(Multiple Choice)
4.8/5
(35)

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

(Short Answer)
4.9/5
(31)

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.

(Multiple Choice)
4.8/5
(38)

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
(36)

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

(Multiple Choice)
5.0/5
(38)

A(n)____ phase in a two-phase lock is when a transaction releases all locks and cannot obtain any new lock.

(Multiple Choice)
4.8/5
(29)

A ____ lock locks the entire diskpage.

(Multiple Choice)
4.8/5
(35)

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

(True/False)
4.9/5
(31)

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
(42)

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
(41)

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/False)
4.9/5
(43)

____ requires that all operations of a transaction be completed.

(Multiple Choice)
4.9/5
(42)

Lock ____ indicates the level of lock use.

(Multiple Choice)
4.8/5
(28)
Showing 1 - 20 of 70
close modal

Filters

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