data model

10
Data Model

Upload: syed-zaid-irshad

Post on 09-Feb-2017

9 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Data model

Data Model

Page 2: Data model

Common Uses of Database Systems• Hotel Reservation• Information on all human genes• The accessories favored by women in 30s.• NIC system

2

Page 3: Data model

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

Page 4: Data model

Traditional File Based Systems

4

Page 5: Data model

Traditional File Based Systems

Copyright 2004, Dr. Manzoor Hashmani 5

Page 6: Data model

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

Page 7: Data model

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

Page 8: Data model

File Based v/s Database Approach

8

Page 9: Data model

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

Page 10: Data model

Components of the DBMS Environment

• Hardware • Software• Data

10