Introduction to Database Processing

Download Report

Transcript Introduction to Database Processing

CH1
Introduction to
Database Processing
CH1. Introduction to DB Processing

DB technology: One of the hottest career paths
– WWW and Internet

Enjoyable, interesting and challenging

DB design and development: art and
engineering
User
Requirement
Physical
Database
Art
DB Design
Engineering
CH1. Introduction to DB Processing
4 Database Examples

Mary Richards House painting
–
–
–
–

Single user Database
Data table : Figure 1-1
Data Entry Form : Figure 1-2
Example report : Figure 1-3
Treble Clef Music
– Multi-user DB ( LAN connection)
– Figure 1-5 : a -Customer Form,
b-Rental Agreement Form,
c- Instrument Form
CH1. Introduction to DB Processing

State Licensing and Vehicle Registration Bureau
– 52 centers:conduct drivers’ tests and issue and renew
drivers’ license
– 37 offices: sell vehicle registrations
– more than 40 different tables of data
– several of which contain hundreds of thousands of
row of data

Calvert Island Reservations Centre
– promotional DB: stores data, photos, video, sound,
events and facilities
• Normal users:
• employee:
– customer and reservation DB
CH1. Introduction to DB Processing
CH1. Introduction to DB Processing
Comparison of DB Applications
Type
Example
Typical
Number of
Concurrent
Users
Personal
Mary Richards
Housepainting
1
Typical Size
of Database
< 10 MB
< 100 MB
Workgroup
Treble Clef
Music
<25
Organization
Licensing and
Registration
Hundreds
> 1 Trillion Byte
Internet
Technology
Calvert Island
Reservation
Possibly
Hundreds
Any
CH1. Introduction to DB Processing
The Relationship of Application
Program and the DBMS
DB Application
DBMS
DB
User
•Design and development of Database vs.
Design and development of Database application
•Overlap between DB class and System development
class
CH1. Introduction to DB Processing
File Processing System

Two File Processing Systems
Customer
Processing
Application
Customer
File
Customer File
user
Rental
Processing
Application
Rental File
user
Rental FIle
CH1. Introduction to DB Processing
Limitations in File Processing System

Separated and Isolated Data

Data Duplication

Application Program Dependency

Incompatible Files

The Difficulty of Representing Data in the Users’
Perspectives: e.g. for Fig 1-5(b), several different
files need to be extracted, combined, and
presented together
CH1. Introduction to DB Processing
Database Processing Systems

Integrated Data

Reduced Data Duplication

Program/Data Independence

Easier Representation of the Users’
Perspectives
CH1. Introduction to DB Processing
Definition of A Database

A Database is Self-Describing
– Metadata or Data directory or Data dictionary
• Promotes Program/data independence
• easy to change data structure: only change in the data dictionary

A DB is a Collection of Integrated Records
– Files + Metadata + Indexes + Application Metadata
(Figure 1-11)

A DB is a Model of a Model
– model of the users’ model
• Mary Richards’s DB is a model of the way in which Mary
Richards views her business
CH1. Introduction to DB Processing
CH1. Introduction to DB Processing
The History of DB Processing

The Organizational Context
– to resolve problems with the file-processing systems
– At first, database applications were difficult to develop and
vulnerable
– By the mid-1970s, database could efficiently and reliably
process organizational applications

The Relational Model
– data are stored in a way that minimizes duplicated data and
eliminates certain types of processing errors
– Tables and relationship
CH1. Introduction to DB Processing

Microcomputer DBMS Products
– dBase II, dBase III Plus, dBase IV
– Access, SALSA, Paradox, Revelation, MDBS, Helix

Client/Server DB Applications: (LAN)
– File sharing architecture

Databases Using Internet Technology
– all database applications will be delivered using HTTP,
XML and related technologies

Distributed Database Processing
– important in theory but have not been widely adopted
– all data are spread over many computers micro, LAN
server, and mainframes (communicate with one another)
CH1. Introduction to DB Processing
– Problems in security and control

Object Oriented DBMS (ODBMS)
– important in theory but have not been widely used
for business information systems
• difficult to use
• cost and risk require to convert existing database to
ODBMS
• most ODBMS have developed to support engineering
applications
– ODBMS are likely to occupy a niche in commercial
information systems applications
– This text focus on relational model