• 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/14

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;

14 Cards in this Set

  • Front
  • Back
Data Files consist of
Field - characteristics of the column

records - group of related fields
Problems with storing data in files
Presence of redundant data

Inconsistent data
Define entity and relationships
Entity - object about which you want to store data

Relationships - Links that shows how diff. records are related
Primary Key
Column in table whose value is unique for each row

every row must have a primary key

Cannot be null
Candidate Key
any column that could be used as the primary key

should be a column that is unique for each record and does not change
Surrogate Key
column created to be records primary key identifier

Has no real relationship to row other than to identify it uniquely

values automatically generated using a sequence
Foreign Key
column in table that is primary key in other table

creates relationship between 2 tables

Value must exist in table where it is the primary key
Composite Key
Unique key that is created by combining two or more columns

Usually comprises fields that are primary keys in other tables
Database system
2 parts:
-DBMS
Manages physical storage and data retrieval

-Database applications
Provide interface that allows users to interact with database
Server/Client database
-Server
Computer that shares resources with other computers

-Client
Program that requests and uses server resources
Server process
Program that listens for requests for resources from clients Responds to requests
Personal DBMS
DBMS and database applications run on same workstation

Appear to user as a single integrated application

Used primarily for creating single-user database applications

Only used for non-mission critical purposes
Client/Server DBMS
DBMS server process runs on one workstation

Database applications run on separate client workstations across network

Server sends only requested data back to client rather than entire database
Advantages of a client/server DBMS
Generate less network traffic than personal databases

Extra features to minimize chance of failure

Powerful recovery mechanisms that often operate automatically

Maintain file-based transaction log on database server