Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Database administrator
Person responsible for installing, administering,
and maintaining the database
Often called DBA
Table
Matrix with columns and rows
Columns
Represent different data fields
Characteristics or attributes about entity
Rows
Contain individual records
Attributes about a specific instance of entity
Composite
Key
ORDER_ID PRODUCT_ID ORDER_QUANTITY
100 1 2
100 2 2
200 2 2
200 1 1
Guide to Oracle 10g 18
Database Design
Consists of
DBMS
Manages physical storage and data retrieval
Database applications
Provide interface that allows users to interact with
database
Server
Computer that shares resources with other
computers
Guide to Oracle 10g 29
Database Systems (continued)
Server process
Program that listens for requests for resources from
clients
Responds to requests
Client
Program that requests and uses server resources
Microsoft Access
Stores all data for database in a single file with an
.mdb extension
Database administrator stores .mdb file on a central
file server
Transaction processing
Grouping related database changes into units of
work that must either all succeed or all fail
DBMS can use the transaction log to reverseor
roll backthe changes
Preferred for
Database applications that retrieve and manipulate
small amounts of data from databases containing
large numbers of records
Mission-critical applications
Web-based database applications that require
increased security and fault tolerance
Fictional organizations:
Clearwater Traders
Northwoods University
Design principles:
Convert all tables to third normal form
Include primary key as foreign key in table on
many side of relationship
Specify data type for each column
Relational databases
Store data in tabular format
Create relationships that link related data using key
columns
Primary key
Column that uniquely identifies specific record
Foreign key
Creates relationship between two tables