Chapter 5 - Database Management System
Chapter 5 - Database Management System
DATABASE MANAGEMENT
SYSTEM
Learning Objectives
• The student will able to:
• -Classification:
• 1. High-Level Model
• 2. Representation Model
• 3. Low-Level Model
1. High-Level Model
• . High-Level Model
• • Ensures data requirement of the users.
• • Not concerned with representation, but it‟s a conceptual
form.
• • Three Important terms:
• a)Entity: - Any object, exists physically or conceptually.
• b)Attribute:- Property or characteristic of entity.
• c)Relationship:- Association or link b/w two entities.
• Classification:
• a. Hierarchical
• b. Relational
• c. Network
Hierarchical Data Base
• Developed by IBM, is
the Oldest database
model.
• Represented using a
tree diagram (Parent-
Child Relationship)
• Node- Boxes
• Link- line connecting
nodes
Relational Database Model
• • Simplest and the most common model.
• • Developed in 1970 by E.F. Codd, it became commercial
in the 80s.
• • Data elements are stored in different tables made up of
rows and columns
Network Database Model
• • Represented using a Data-Structure Diagram.
• • Boxes represents the records & lines the links.
•
Schema
• - Logical structure of the database.
• - Doesn‟t show the data in database.
• - Classification:
• 1. Physical
• 2. Conceptual
• 3. External
Schema
• 1.Physical Schema: -Describes the physical storage of
database. -Not in terms of blocks or devices, but
describes organization of files, access path etc.
• 2. Conceptual Schema: -Describes structure of whole
database. -Describes entities their relationships and
constraints.
• 3.External Schema: -Provides a user‟s view of data. -
Shows relevant info particular to user, hides rest of the
info. -one or more levels.