• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/20

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

20 Cards in this Set

  • Front
  • Back
Nine Functions of a DBMS
1) Update and Retrieve Data
2) Provide catalog services
3) Support concurrent update
4) Recover data
5) Provide security services
6) Provide data integrity features
7) Support data independence
8) Support data replication
9) Provide utility services
What is metadata? What are some examples of metadata?
metadata is data about the data in a database

It includes table descriptions and field definitions
What is a data dictionary?
A data dictionary is a supercatalog storing more than described in the catalog. (for large DBMS)
When does a concurrent update occur?
A concurrent update occurs when multiple users make updates to the same database at the same time
What is batch processing?
A technique whereby all updates are stored in one file and executed at a specific time in a day all at once
What is the biggest problem with batch updating?
As soon as changes are made, the data is no longer current.
How does locking solve the problem of concurrent updating?
Locking denies access by other users to data while the DBMS processes one user's updates to the database.
What is a transaction?
A transaction is a set of actions that make up a single task to be completed.
What is two-phase locking?
The technique that states that the DBMS should hold locks until it completes all updates in a give transaction.
What is the growing phase in two phase locking?
The phase in which the DBMS locks more rows and releases none of the locks.
What is the shrinking phase in two phase locking?
The phase in which the DBMS releases all locks and acquires no new locks
What is a deadlock (aka, deadly embrace)
When two locks conflict, so as without any intervention, the conflict will never be resolved.
Who is the victim in a deadlock?
The person who's transaction gets denied
What is timestamping?
Timestamping is a system used by the database to prevent deadlocks by assigning each database update the unique time when the database updated.
What is recovery?
Recovery is the process of returning the database to a known-good state from a state known to be incorrect.
What is journaling?
Journaling involves maintaining a journal, or log, of all updates in a database for recovery purposes
What are before and after images?
They are records of a change before and after an update to a given row
What is forward recovery?
Process of recovering a database by using a database backup and applying all updates logged until the disaster
What is backward recovery?
Process of recovering a database by using the current database and rolling back updates until the database is restored
What are the three types of data integrity?
Data type integrity
Legal values integrity
Format Integrity