Exam 10: Transaction Management and Concurrency Control

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

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

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

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

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.9/5
(33)

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

(True/False)
4.8/5
(41)

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

(Multiple Choice)
4.9/5
(37)

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

(Essay)
4.8/5
(28)

can take place at any of the following levels: database,table,page,row,or field.

(Short Answer)
4.8/5
(30)

The isolation level ensures that queries return consistent results. a.Read Uncommitted b.Read Committed c.Serializable d.Repeatable Read

(True/False)
4.9/5
(42)

The reason for the different levels of isolation is to increase transaction concurrency.

(True/False)
5.0/5
(39)

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._________correct.

(Short Answer)
4.9/5
(32)

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

(True/False)
4.9/5
(30)

A(n)occurs when a transaction executes a query at time t1,and then it runs the same query at time t2,yielding additional rows that satisfy the query.

(Multiple Choice)
4.8/5
(35)

occurs when a transaction accesses data before and after one or more other transactions finish working with such data.

(Multiple Choice)
4.8/5
(40)

The______ manager is responsible for assigning and policing the locks used by the transactions.

(Multiple Choice)
4.9/5
(35)

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

As a rule,a(n)must unlock the object after its termination.

(Short Answer)
4.9/5
(35)

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

(Multiple Choice)
4.9/5
(32)

Time stamping demands a lot of system resources because many transactions might have to be stopped,rescheduled,and stamped.

(True/False)
4.7/5
(33)

The interleaves the execution of database operations to ensure serializability.

(Short Answer)
4.8/5
(34)
Showing 21 - 40 of 76
close modal

Filters

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