DATA BASE BACKUP AND RECOVERY Flashcards
a mechanism that determines whether a user is who he or she claims to be
AUTHENTICATION
the granting of a right or privilege, which enables a subject to legitimately have access to a system or a legitimately have access to a system or a system’s objects.
AUTHORIZATION
a security mechanism (of a DBMS) for restricting access to a system’s objects (the database) as a whole
ACCESS CONTROL
Is the process of periodically taking a copy of the database and log file (and possibly programs) onto offline storage media.
DATABASE BACKUP
Mechanisms for restoring a database quickly and accurately after loss or damage.
DATABASE RECOVERY
Recovery in general refers to the various operations involved in restoring, rolling forward, and rolling back a backup.
DATABASE RECOVERY
Provide back-up copies of portions of or entire database.
BACKUP FACILITIES
BACKUP MODES
COLD BACK-UP
HOT BACK-UP
Full Back-ups of a database.
COLD BACK-UP
Only a selected portion of the database is shut down from use.
HOT BACK-UP
Maintain an audit trail of transactions and database changes.
JOURNALIZING FACILITIES
By which DBMS periodically suspends all processing and synchronizes its files and journals to establish recovery point.
CHECKPOINT FACILITY
Basic Facilities for Database Backup and Recovery
BACKUP FACILITIES
JOURNALIZING FACILITIES
CHECKPOINT FACILITY
RECOVERY AND RESTART PROCEDURES
DISK MIRRORING
RESTORE/RERUN
MAINTAINING TRANSACTION INTEGRITY
At least two copies of the database must be kept and updated simultaneously. When a media failure occurs, processing is switched to the duplicate copy of the database.
DISK MIRRORING
A technique that involves re-processing the day’s transaction (up to the point of failure) against the backup copy of the database.
RESTORE/RERUN
Commit or abort all transaction changes.
A transaction is the DBMS’s abstract view of user programs.
MAINTAINING TRANSACTION INTEGRITY
_____________ is the general process of assuring that transactions preserve consistency when executing simultaneously
CONCURRENCY CONTROL
The back out, or undo, of unwanted changes to the database.
BACKWARD RECOVERY/ROLLBACK
An atomic transaction is one in which all of the database changes are committed as a unit; either all are done or none is.
ATOMICITY
A consistent transaction is one in which all actions are taken against rows in the same logical state.
ATOMICITY
This property means that once the transaction is executed, it must either put the database in a consistent state or abort.
CONSISTENCY
If the final state of transaction is not stable, it must bring back the system in to its initial state.
CONSISTENCY
PROPERTIES OF TRANSACTION
ATOMICITY
CONSISTENCY
ISOLATION
DURABILITY
Means that the behavior of a transaction is not affected by other concurrent transactions executing.
ISOLATION
An isolated transaction is one that is protected from changes by other users. In a highly concurrent environment, highly isolated transactions may lead to deadlocks.
ISOLATION
This property means that the effects of transaction will persist after its validation. A durable transaction is one in which all committed changes are permanent.
DURABILITY