Lecture 3
Lecture 3
Introduction to
Database
File-Based Systems
Early attempt to Computerize the manual
filing system
Collection of application programs that
perform services for the end users (e.g.
reports).
Eachprogram defines and manages its
own data (individual file).
Manual Filing Systems
Works well
while number of items to be stored is small
For only storage or retrieval functionality of
large number of items
TYPICAL FILE PROCESING SYTEM:
Fixed
Queries/Proliferation of application
programs
Programs are written to satisfy particular functions.
Any new requirement needs a new program.
Limitations of File-Based
Approach..
Lack of data integration
Limited data security and access
control
Poor data integrity and recovery
Lack of concurrency control
aTOMICITY
Database Approach
Arose because:
Definition of data was embedded in application programs,
rather than being stored separately and independently.
No control over access and manipulation of data beyond
that imposed by application programs.
Result:
the database and Database Management System (DBMS).
Purpose of a Database