SlideShare a Scribd company logo
+
Dr Ramadan Babers
Faculty of Science - Helwan University
Fall 2018
D B
LEC-05
1- Data Model
2
 A collection of concepts that can be used to define
the DB structure (data items& types, relationships,
operations, behavior, and constraints).
 Some Data Models:
 Entity Relationship model
 Relational Model
 hierarchical & network models
 object-data models
2- The role of data models
3
3- Categories of Data Models
4
 Conceptual (high-level, semantic) data models:
 Provide concepts that are close to the way many users
perceive data.
 (Also called entity-based or object-based data
models.)
 Implementation (representational) data models:
 Provide concepts that fall between the above and below,
used by many commercial DBMS implementations (e.g.
relational data models used in many commercial
systems).
 Physical (low-level, internal) data models:
 Provide concepts that describe details of how data is
stored in the computer. These are usually specified in an
ad-hoc manner through DBMS design and
administration manuals
3- Categories of Data Models (cont.)
5
4- Classification of DBMSs
6
 Data Model Classification
 relational,
 network,
 hierarchical,
 object-oriented
 Number of users
 single user or multi-user
 Number of Sites
 centralized vs distributed
 Cost of the DBMS
Data Model
Number of
users
Number of
sites
Cost of the
DBMS
5- System Catalog
7
 Repository of information (metadata) describing
the data in the database.
 One of the fundamental components of DBMS.
 Typically stores:
 names, types, and sizes of data items;
 constraints on the data;
 names of authorized users;
 data items accessible by a user and the type of access;
 usage statistics.
6- Multi-User DBMS Architectures
8
1- Teleprocessing
2- File-server
3- Client-server
A- Two-Tier
B- Three-Tier
6-1 Teleprocessing
9
 Traditional architecture.
 Single mainframe with a
number of terminals
attached.
Mainframe
Terminals
6-2 File-Server
10
 File-server is connected to several
workstations across a network.
 Database resides on file-server.
 DBMS and applications run on each workstation.
 Disadvantages include:
 Significant network traffic.
 Copy of DBMS on each workstation.
 Concurrency, recovery and integrity control more complex.
6-2 File-Server Architecture (cont.)
11
DBMS &
Applications
Database
resides on
file-server
6-3 Client-Server
12
A- Traditional Two-Tier
 Client (tier 1) manages user interface and runs
applications.
 Server (tier 2) holds database and DBMS.
 Advantages include:
 wider access to existing databases;
 increased performance;
 possible reduction in hardware costs;
 reduction in communication costs;
 increased consistency.
13
Traditional
Two-Tier
Client-Server
6-3 Client-Server (cont.)
Tier-2
Database &
DBMS
Tier-1
User interface
& applications
14
6-3 Client-Server (cont.)
15
B- Three-Tier
 Client side presented two problems preventing
true scalability:
 ‘Fat’ client, requiring considerable resources on client’s
computer to run effectively.
 Significant client side administration overhead.
 By 1995, three layers proposed, each
potentially running on a different platform.
6-3 Client-Server (cont.)
16
 Advantages:
‘Thin’ client, requiring less expensive hardware.
Application maintenance centralized.
Easier to modify or replace onetier without
affecting others.
Separating business logic from database functions
makes it easier to implement load balancing.
6-3 Client-Server (cont.)
Three-Tier Client-Server
17
6-3 Client-Server (cont.)
7- Transaction Processing Monitors
18
 Program that controls data transfer
between clients and servers in order to
provide a consistent environment,
particularly for Online Transaction
Processing (OLTP).
 Online Analytical Processing (OLAP).
TPM as middle tier of 3-tier client-server
19

More Related Content

PPT
Ch01 database-conceptsppt4207
PPTX
Characteristic of dabase approach
PPT
Distributed D B
PPT
Lecture 08 distributed dbms
PPT
Ch 1 D B Environment
PPTX
Slide 4 dbms users
PPTX
Single User v/s Multi User Databases
PPT
Basic DBMS ppt
Ch01 database-conceptsppt4207
Characteristic of dabase approach
Distributed D B
Lecture 08 distributed dbms
Ch 1 D B Environment
Slide 4 dbms users
Single User v/s Multi User Databases
Basic DBMS ppt

What's hot (20)

PPT
Ch 13 D B Admin
PPTX
Components of ddbms
PDF
DBMS CONCEPT
PPTX
Database management system
PPTX
Chapter1
PPT
Distributed Database System
PDF
Characteristics and Advantages of Database Management System
PDF
Ddb 1.6-design issues
PPT
Functions of database management systems
PPTX
Library Database management system
PPTX
Distributed dbms architectures
PPTX
Distributed database
PPTX
Distributed database management system
PDF
Distributed Database
PPTX
Types and Functions of DDBMS
PPTX
Distributed database system
PPTX
Distributed dbms
PPT
Lecture 11 - distributed database
PPT
Ch 2 D B Dvlpt Process
PPT
Lecture 10 distributed database management system
Ch 13 D B Admin
Components of ddbms
DBMS CONCEPT
Database management system
Chapter1
Distributed Database System
Characteristics and Advantages of Database Management System
Ddb 1.6-design issues
Functions of database management systems
Library Database management system
Distributed dbms architectures
Distributed database
Distributed database management system
Distributed Database
Types and Functions of DDBMS
Distributed database system
Distributed dbms
Lecture 11 - distributed database
Ch 2 D B Dvlpt Process
Lecture 10 distributed database management system
Ad

Similar to Db lec 05_new (20)

PDF
313302 DBMS UNIT 1 PPT for DIploma Computer Eng
PPTX
RDBMS to NoSQL. An overview.
PPT
Database Concepts.ppt
PPT
Unit01 dbms
PDF
PDF
Dbms module i
PPTX
database management system anna universityUnit1.pptx
PPTX
Introduction to DBMS.pptx
PDF
Comprehensive Guide to Effective Database Application Development Principles
PDF
Unit 1: Introduction to DBMS Unit 1 Complete
PPTX
Database Languages Architecture Data Model.pptx
PPTX
Database systems - Chapter 2 (Remaining)
PPTX
Introduction to Database
PDF
database introductoin optimization1-app6891.pdf
PPT
Basic and Introduction to DBMS Unit 1 of AU
PPTX
Lecture 1 to 3intro to normalization in database
PPTX
CP 121_2.pptx about time to be implement
PPT
Dbms unit01
PPT
Dbms models
PPTX
DEE 431 Introduction to DBMS Slide 1
313302 DBMS UNIT 1 PPT for DIploma Computer Eng
RDBMS to NoSQL. An overview.
Database Concepts.ppt
Unit01 dbms
Dbms module i
database management system anna universityUnit1.pptx
Introduction to DBMS.pptx
Comprehensive Guide to Effective Database Application Development Principles
Unit 1: Introduction to DBMS Unit 1 Complete
Database Languages Architecture Data Model.pptx
Database systems - Chapter 2 (Remaining)
Introduction to Database
database introductoin optimization1-app6891.pdf
Basic and Introduction to DBMS Unit 1 of AU
Lecture 1 to 3intro to normalization in database
CP 121_2.pptx about time to be implement
Dbms unit01
Dbms models
DEE 431 Introduction to DBMS Slide 1
Ad

More from Ramadan Babers, PhD (20)

PDF
Part10 finance investment limitations of ratio analysis
PDF
Part09 finance investment ratio analysis investment ratio
PDF
Part08 finance investment ratio analysis solvency ratio
PDF
Part07 finance investment ratio analysis profitability ratio
PDF
Part06 finance investment ratio analysis efficiency ratio
PDF
Part05 finance investment_ratio_analysis_liquidity_ratio_presentation
PDF
Part04 finance investment_ratio_analysis_introduction_presentation
PDF
Part03 finance investment_financial_statement_analysis_presentation
PDF
Part02 finance investment_finance_and_financial_reporting_presentation
PDF
Part01 finance investment_basics_presentation
PDF
Strategic Management part_03_03
PDF
Strategic Management part_02_03
PDF
Strategic Management part_01_03
PDF
Customer Experience (CX) updated version V9.0
PDF
Classification using decision tree in detail
PDF
Customer Experience (CX)
PPTX
Python lec 1004_ch02_excercies
PDF
Python lec 1003_for_biologists
PDF
Python lec 1002_for_biologists
PDF
Python lec 1001_for_biologists
Part10 finance investment limitations of ratio analysis
Part09 finance investment ratio analysis investment ratio
Part08 finance investment ratio analysis solvency ratio
Part07 finance investment ratio analysis profitability ratio
Part06 finance investment ratio analysis efficiency ratio
Part05 finance investment_ratio_analysis_liquidity_ratio_presentation
Part04 finance investment_ratio_analysis_introduction_presentation
Part03 finance investment_financial_statement_analysis_presentation
Part02 finance investment_finance_and_financial_reporting_presentation
Part01 finance investment_basics_presentation
Strategic Management part_03_03
Strategic Management part_02_03
Strategic Management part_01_03
Customer Experience (CX) updated version V9.0
Classification using decision tree in detail
Customer Experience (CX)
Python lec 1004_ch02_excercies
Python lec 1003_for_biologists
Python lec 1002_for_biologists
Python lec 1001_for_biologists

Recently uploaded (20)

PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
RMMM.pdf make it easy to upload and study
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Final Presentation General Medicine 03-08-2024.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
1_English_Language_Set_2.pdf probationary
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
IGGE1 Understanding the Self1234567891011
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
advance database management system book.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
Computing-Curriculum for Schools in Ghana
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Introduction to Building Materials
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
RMMM.pdf make it easy to upload and study
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Final Presentation General Medicine 03-08-2024.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
1_English_Language_Set_2.pdf probationary
History, Philosophy and sociology of education (1).pptx
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
IGGE1 Understanding the Self1234567891011
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Empowerment Technology for Senior High School Guide
advance database management system book.pdf
Cell Types and Its function , kingdom of life
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Computing-Curriculum for Schools in Ghana
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Introduction to Building Materials

Db lec 05_new

  • 1. + Dr Ramadan Babers Faculty of Science - Helwan University Fall 2018 D B LEC-05
  • 2. 1- Data Model 2  A collection of concepts that can be used to define the DB structure (data items& types, relationships, operations, behavior, and constraints).  Some Data Models:  Entity Relationship model  Relational Model  hierarchical & network models  object-data models
  • 3. 2- The role of data models 3
  • 4. 3- Categories of Data Models 4  Conceptual (high-level, semantic) data models:  Provide concepts that are close to the way many users perceive data.  (Also called entity-based or object-based data models.)  Implementation (representational) data models:  Provide concepts that fall between the above and below, used by many commercial DBMS implementations (e.g. relational data models used in many commercial systems).  Physical (low-level, internal) data models:  Provide concepts that describe details of how data is stored in the computer. These are usually specified in an ad-hoc manner through DBMS design and administration manuals
  • 5. 3- Categories of Data Models (cont.) 5
  • 6. 4- Classification of DBMSs 6  Data Model Classification  relational,  network,  hierarchical,  object-oriented  Number of users  single user or multi-user  Number of Sites  centralized vs distributed  Cost of the DBMS Data Model Number of users Number of sites Cost of the DBMS
  • 7. 5- System Catalog 7  Repository of information (metadata) describing the data in the database.  One of the fundamental components of DBMS.  Typically stores:  names, types, and sizes of data items;  constraints on the data;  names of authorized users;  data items accessible by a user and the type of access;  usage statistics.
  • 8. 6- Multi-User DBMS Architectures 8 1- Teleprocessing 2- File-server 3- Client-server A- Two-Tier B- Three-Tier
  • 9. 6-1 Teleprocessing 9  Traditional architecture.  Single mainframe with a number of terminals attached. Mainframe Terminals
  • 10. 6-2 File-Server 10  File-server is connected to several workstations across a network.  Database resides on file-server.  DBMS and applications run on each workstation.  Disadvantages include:  Significant network traffic.  Copy of DBMS on each workstation.  Concurrency, recovery and integrity control more complex.
  • 11. 6-2 File-Server Architecture (cont.) 11 DBMS & Applications Database resides on file-server
  • 12. 6-3 Client-Server 12 A- Traditional Two-Tier  Client (tier 1) manages user interface and runs applications.  Server (tier 2) holds database and DBMS.  Advantages include:  wider access to existing databases;  increased performance;  possible reduction in hardware costs;  reduction in communication costs;  increased consistency.
  • 15. 15 B- Three-Tier  Client side presented two problems preventing true scalability:  ‘Fat’ client, requiring considerable resources on client’s computer to run effectively.  Significant client side administration overhead.  By 1995, three layers proposed, each potentially running on a different platform. 6-3 Client-Server (cont.)
  • 16. 16  Advantages: ‘Thin’ client, requiring less expensive hardware. Application maintenance centralized. Easier to modify or replace onetier without affecting others. Separating business logic from database functions makes it easier to implement load balancing. 6-3 Client-Server (cont.)
  • 18. 7- Transaction Processing Monitors 18  Program that controls data transfer between clients and servers in order to provide a consistent environment, particularly for Online Transaction Processing (OLTP).  Online Analytical Processing (OLAP).
  • 19. TPM as middle tier of 3-tier client-server 19