DCIT55 (LEC) | Finals Flashcards

1
Q

mechanisms for restoring a database quickly and accurately after loss or damage

A

database recovery

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

provide backup copies of portions of the entire database and you can use operating system commands, or SELECT . . . INTO SQL commands to perform backups

A

backup facilities

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

full backup of a database

A

cold backup

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

only a selected portion of the database is shut down from use

A

hot backup

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

maintain an audit trail of transactions and database changes

A

journalizing facilities

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

by which DBMS periodically suspends all processing and synchronizes its files and journals to establish a recovery point

A

checkpoint facility

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

all transactions in progress are completed, and the journal files are brought up to date

A

checkpoint facility

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

allows the DBMS to restore the database to a correct condition and restart processing transactions when a failure occurs and then resumes processing user questions

A

recovery manager

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

at least two database copies must be kept and updated simultaneously. When a media failure occurs, the processing is switched to a duplicate database copy

A

disk mirroring

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

a technique that involves reprocessing the day’s transactions (up to the point of failure) against the backup copy of the database

A

restore/rerun

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

a sequence of steps that constitute some well-defined business activity

A

business transaction

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

Normally, it requires several actions against the database

A

business transaction

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

When processing transactions, the DBMS must ensure that the transactions follow four well-accepted properties called the

A

ACID properties

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

The transaction cannot be subdivided, and hence, it must be processed in its entirety or not at al

A

atomic

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

Any database constraints that must be true before the transaction must also be true after the transaction

A

consistent

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

Changes to the database are not revealed to users until the transaction is committed

A

isolated

17
Q

Changes are permanent

A

durable

18
Q

The back out, or undo, of unwanted changes to the database

A

backward recovery/rollback

19
Q

Used to reverse the changes made by transactions that have aborted, or terminated abnormally

A

backward recovery/rollback

20
Q

A technique that starts with an earlier copy of the database

A

forward recovery/roll forward

21
Q

it (the results of good transactions) quickly moves the database to a later state

A

after-images

22
Q

➢ A transaction in progress that terminates abnormally.
➢ Human error, input of invalid data, hardware failure, and deadlock
➢ Recovery technique: rollback

A

aborted transactions

23
Q

➢ When the error data have been processed, the database may be recovered in one of the following ways:
a. If the error is discovered soon enough, backward recovery may be used.
b. If only a few errors have occurred, a series of compensating transactions may be introduced through human intervention to correct the errors.
c. If the first two measures are not feasible, it may be necessary to restart from the most recent checkpoint before the error occurred, and subsequent transactions processed without the error.
➢ Recovery technique: rollback

A

incorrect data

24
Q

➢ Some components fail, but the database is not damaged.
➢ Power loss, operator loss, loss of communications transmission and system software failure.

A

system failure

25
Q

➢ The database itself is lost, destroyed, or cannot be read.
➢ Disk failure

A

database destruction

26
Q

➢ A natural or manmade disaster

A

disaster recovery

27
Q

Allow other transactions to read (but not update) a record or other resources

A

s-lock/shared lock

28
Q

Prevent another transaction from reading (and therefore updating) a record until it is unlocked

A

x-lock/exclusive lock

29
Q

An impasse that results when two or more transactions have locked a common resource, and each wait for the other to unlock that resource

A

deadlock

30
Q

any data that are retrieved by a user for updating must be locked, or denied to other users until the update is completed or aborted

A

locking