data model
TRANSCRIPT
Data Model
Common Uses of Database Systems• Hotel Reservation• Information on all human genes• The accessories favored by women in 30s.• NIC system
2
Traditional File Based Systems
•Collection of application programs and their data.•Each program defines and manages its own data
(data separation).•Similar to manual filing system.•Works well when the number of items is small.•Also fine when the number of items is large but we
have only to store and retrieve.
3
Traditional File Based Systems
4
Traditional File Based Systems
Copyright 2004, Dr. Manzoor Hashmani 5
Limitations of File Based Systems• Separation and isolation of data• Duplication of data• Data dependence • Definition of data structure is in application code
• Incompatible File Formats
6
Database Approach• The Database
• A shared collection of logically related data and its description.
• Separation of data description from application (program-data independence)• Data Dictionary or Meta Data – the data about data• All problems of file based system removed
7
File Based v/s Database Approach
8
The Database Management System (DBMS)•A software which enables users to define, create,
maintain, and control access to database.•Provides the following• Define database – Data Definition Language (DDL)•Modify data – Data Modification Language (DML)
•Access Control• Security etc
9
Components of the DBMS Environment
• Hardware • Software• Data
10