Chapter 10 Flashcards

1
Q

___________ requires that all operations of a transaction be completed.

A

Atomicity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

Isolation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

All transactions must display __________.

A

Atomicity, Durability, Consistency, and Isolation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

Serializability and Isolation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The ANSI has defined standards that govern SQL database transactions. Transaction support is provided by two SQL statements: ____________ and ROLLBACK.

A

COMMIT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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?

A

The end of a program is successfully reached.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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?

A

The program is abnormally terminated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The implicit beginning of a transaction is ______________.

A

When the first SQL statement is encountered.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The information stored in the ___________ is used by the DBMS for a recovery requirement triggered by a ROLLBACK statement, a program’s abnormal termination, or a system failure such as a network discrepancy or a disk crash.

A

Transaction Log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

Lost Updates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

A

Inconsistent Retrievals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

Unrelated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

Database-Level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A

Locks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

Lock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Lock _______________ indicates the level of lock use.

A

Granularity

17
Q

A_____________ lock locks the entire table preventing access to any row by a transaction while another transaction is using the table.

A

Table-Level

18
Q

A___________ lock locks the entire diskpage.

A

Page-Level

19
Q

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

A

Diskblock

20
Q

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

A

Row-Level