Chapter 1: Introduction To Database Management System
Chapter 1: Introduction To Database Management System
Chapter 1: Introduction To Database Management System
Management System
Adama Science and Technology University
School of Electrical Engineering and Computing
Department of CSE
CSEg 2208: Database Systems
(2022)
Outline
What is database ?
Database management system and its components
Database design life cycle
Roles in Database Design and Use
database Architecture
06/09/22 2
What is Database ?
Filing Cabinet
Hard disk full of data
Diary
Library
06/09/22 6
Manual Approach
06/09/22 8
Traditional File Based Approach
06/09/22 9
Traditional File Based Approach
06/09/22 10
Database Approach
06/09/22 11
Database Approach
06/09/22 12
Benefits of the database approach
Data can be shared: two or more users can access and use same
data instead of storing data in redundant manner for each user.
Improved accessibility of data: by using structured query
languages, the users can easily access data without programming
experience.
Quality data can be maintained: the different integrity
constraints in the database approach will maintain the quality
leading to better decision making
Integrity can be maintained: data at different applications will be
integrated together with additional constraints to facilitate
validity and consistency of shared data resource.
06/09/22 13
Benefits of the database approach
06/09/22 14
Limitation of the database approach
06/09/22 15
Database Management System
(DBMS)
A full scale DBMS should at least have the following services to
provide to the user:
Data storage, retrieval and update in the database.
A user accessible catalogue.
Transaction support service: ALL or NONE transaction, which
minimize data inconsistency.
Concurrency Control Services: access and update on the database
by different users simultaneously should be implemented
correctly.
Recovery Services: a mechanism for recovering the database after
a failure must be available.
06/09/22 16
Database Management System
(DBMS)
A full scale DBMS should at least have the following services to
provide to the user:
Authorization Services (Security): must support the
implementation of access and authorization service to database
administrator and users.
Integrity Services: rules about data and the change that took place
on the data, correctness and consistency of stored data, and quality
of data based on business constraints.
Services to promote data independency between the data and the
application.
06/09/22 17
DBMS - Database Languages
06/09/22 18
DBMS - Database Languages
06/09/22 19
DBMS
06/09/22 21
DBMS
06/09/22 24
Database Development Life Cycle
(DDLC)
Major steps in database design are:
Implementation: the testing and deployment of the designed
database for use.
Operation and Support: administering and maintaining the
operation of the database system and providing support to users.
06/09/22 25
Roles in Database Design and Use
06/09/22 27
Roles in Database Design and Use
06/09/22 29
Example of a Database
06/09/22 30
Example of a Database
06/09/22 31
Example of a Database
06/09/22 32
Example of a Database
06/09/22 34
Data Abstraction (Categories of data
models)
Data can be described at three levels of abstraction.
Physical schema:
The lowest level schema.
Describes how data are stored and indexed.
Conceptual (or logical) schema:
What (not how) data are stored.
Describes data in terms of the data model.
External (or view) schema:
The highest level schema.
Describes how some users access the data.
There can be many different views.
06/09/22 35
Levels of Abstraction
Conceptual Schema
Physical Schema
DB
06/09/22 36
Typical DBMS Structure/Database
System
DBMS
Query Evaluation
Database
06/09/22 37
Database Components (Structure)
06/09/22 38
Database Components (Structure)
06/09/22 42
Database System Architecture
06/09/22 43
Database System Architecture
06/09/22 45
Question & Answer
06/09/22 46
Thanks !!!
06/09/22 47