Exam 15: Transaction Management

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

A(n)______________________ is a collection of operations that must be processed reliably as a single unit of work.

Free
(Short Answer)
4.8/5
(29)
Correct Answer:
Verified

database transaction

For each transaction,the ____________________ statement can be used to specify whether deferrable constraints are deferred or immediately enforced.

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

SET CONSTRAINTS

Julia has a lock on the savings account and Bill is trying to perform a conflicting action on the data:

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

B

When an update to the database takes place,the time of the update,the values of the data before and after the update,and the type of lock used are recorded in the transaction log.

(True/False)
4.9/5
(29)

The optimistic concurrency control approach may delay a transaction longer than the pessimistic approach would have,because with the optimistic approach the conflicting transactions have to be rolled back and restarted,rather than waiting for a lock to be released.

(True/False)
4.7/5
(33)

A(n)____________________ is an inconsistent retrieval problem which occurs when a transaction reads several values,but another transaction updates some of the values while the first transaction is still executing.

(Short Answer)
4.9/5
(35)

Julia has a shared lock on the savings account and Bill is trying to perform an action requesting an exclusive lock on the same data:

(Multiple Choice)
4.8/5
(41)

Which of the following will cause a deadlock?

(Multiple Choice)
4.9/5
(35)

Some transactions have tentative actions that can be canceled by user actions or other events.In order to allow a partial rollback of a transaction (to save parts of the transaction not affected by those user actions or events),SQL:2003 provides the _______ statement.

(Short Answer)
4.8/5
(29)

Which of the following is an example of lost update?

(Multiple Choice)
4.7/5
(40)

Consider a transaction that updates each of the 100 employees' salaries in a table (there is one row per employee)under the immediate update mode.The transaction terminates abnormally after 10 rows have been updated in the database (and the normal operations have taken place on the log).What should the recovery procedure perform to make sure the transaction completes as desired?

(Multiple Choice)
4.8/5
(32)

Depending on the DBMS,checkpoints:

(Multiple Choice)
4.9/5
(30)

Any number of users can hold a shared lock on the same part of the database,but only one user can hold an exclusive lock on that part of the database.

(True/False)
4.9/5
(38)

With database locking,a(n)_______________ lock must be obtained before reading a database item,and a(n)___________ lock must be obtained before writing to a database item.

(Short Answer)
4.9/5
(30)

The ACID properties are insured by the following services of the DBMS:

(Multiple Choice)
5.0/5
(31)

Checkpoints can involve considerable disruption to transaction processing because no new transactions can begin and existing transactions cannot begin new operations during a checkpoint.

(True/False)
4.8/5
(29)

In the optimistic approach:

(Multiple Choice)
4.8/5
(36)

Julia has an exclusive lock on the savings account and Bill is trying to perform an action requesting a shared lock on the same data:

(Multiple Choice)
4.8/5
(32)

An example of concurrency transparency would be that multiple students could register for the same course offering at the same time,without interference from each other.

(True/False)
4.7/5
(38)

Three enabling technologies which support workflow are distributed object management,recovery management,and customized transaction management.

(True/False)
4.9/5
(33)
Showing 1 - 20 of 75
close modal

Filters

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