Chapter 2-Database System Concepts and Architecture
Chapter 2-Database System Concepts and Architecture
System
Chapter Two:
Database System Concepts
and
Architecture
Prepared by:
Misganaw Abeje
University of Gondar
College Of Informatics
Department of computer science
Misganaw.Abeje13@gmail.com
Outline
– Data Model
– Database modeling and its usage
– Major data models evolved
– Schemas and a database state
– The Three-Schema Architecture
– Data Independence
– Database languages
– DBMS Interfaces
BY: MA
Data Model
BY: MA
Categories of Data Models
BY: MA
Types of Data Model
BY: MA
BY: MA
Cont..
BY: MA
BY: MA
The Relational Model
BY: MA
Relational data management system (RDBMS)
– Performs same functions provided by
hierarchical model
– Hides complexity from the user
Relational diagram (ER Diagram)
– Representation of entities, attributes, and
relationships
Relational table stores collection of related entities
BY: MA
BY: MA
BY: MA
Cont…
BY: MA
Cont…
BY: MA
The Object-Oriented (OO) Model
Common characteristics:
– Conceptual simplicity with semantic completeness
– Represent the real world as closely as possible
– Real-world transformations must conform with
consistency and integrity characteristics
Each new data model capitalized on the
shortcomings of previous models
Some models better suited for some tasks
BY: MA
BY: MA
Schemas, Instances, and Database State
BY: MA
Three-Schema Architecture
and Data Independence
BY: MA
BY: MA
1. The external or view level
BY: MA
BY: MA
The Conceptual Model
BY: MA
The Internal Model
BY: MA
DBMS Classification
BY: MA
The third criterion is the number of sites over which the
database is distributed. A DBMS is centralized if the data is
stored at a single computer site. A centralized DBMS can
support multiple users, but the DBMS and the database reside
totally at a single computer site. A distributed DBMS
(DDBMS) can have the actual database and DBMS software
distributed over many sites, connected by a computer network.
The fourth criterion is cost. It is difficult to propose a
classification of DBMSs based on cost. Today we have open
source (free) DBMS products like MySQL and
PostgreSQL that are supported by third-party vendors with
additional services.
BY: MA
Thank you
BY: MA