SlideShare a Scribd company logo
The Relational Database Model
Course:-MCA-II
Subject:-Database Management System
Unit:-2
Outline
 Data Models, Schemas, and Instances
 Three-Schema Architecture
 Database language and Interfaces
 The database system environment
 Centralized and client/server architecture
Categories of data models
 High-level or Conceptual data models:
 Provide concept that are close to the way many users
perceive data
 Low-level or Physical data model:
 Provide concepts that describe the details of how data
is stored in the computer
Conceptual data models
• It uses concepts such as entities, attributes and
relationships.
• Entity represents a real-world object or concept, such
as employee or project
• Attribute represents some property of interest that
further describes an entity, such as employee’s name
or salary
• Relation among two or more entities represents an
association among two or more entitles
Example of a Relation[1]
Schemas and Database State
 In any data model, it is important to distinguish
between the description of the data and database itself
 The description of the database is called the database
schema
 A displayed Schema is called a schema diagram
University Database
Example of a Database Schema[2]
Schemas and Database State
 The data in the database at a particular moment in
time is called a database state
 The distinction between database schema and
database state is very important
 When we define a new database, we specify its
database schema only to the DBMS
 At this point, the corresponding database state is the
empty state with no data
 We get the initial state of the database when the
database is first loaded
 From then on, every time an update operation is
applied to the database, we get another database state
Schemas and Database State
 Valid State: a state that satisfies the structure and
constrains specified in the schema.
 The database schema changes very infrequently.
 The database state changes every time the database
is updated
 Schema is also called intension.
 State is also called extension.
Outline
 Data Models, Schemas, and Instances
 Three-Schema Architecture
 Database language and Interfaces
 The database system environment
 Centralized and client/server architecture
Three-Schema Architecture
 Three of four important characteristics of the
database approach, listed in Ch.1 are:
 Self-describing of a DB (Schema)
 Insulation between programs and data
 Support of multiple views of the data
 Three-Schema Architecture : it was proposed to
help achieve and visualize these characteristics
Three-Schema Architecture
 Defines DBMS schemas at three levels:
 Internal schema at the internal level to describe
physical storage structures and access paths (e.g.
indexes).
 Conceptual schema at the conceptual level to
describe the structure and constraints for the whole
database for a community of users.
 External schemas at the external level to describe
the various user views.
The Three-schema architecture[3]
Outline
 Data Models, Schemas, and Instances
 Three-Schema Architecture
 Database language and Interfaces
 The database system environment
 Centralized and client/server architecture
DBMS Languages
 The first step to create a database through DBMS is
to specify conceptual and internal schemas for the
database
 Data Definition Language (DDL): is used by
database designers to define schemas
 Data Manipulation Language (DML)
 View Definition Language (VDL): is to specify user
views
 In current DBMS, the preceding types of languages
are usually not considered distinct languages
DBMS Programming Language
Interfaces
 Programmer interfaces for embedding DML in a
programming languages:
Embedded Approach: e.g. embedded SQL (for C, C+
+, etc.), SQLJ (for Java)
Procedure Call Approach: e.g. JDBC for Java,
ODBC for other programming languages
Database Programming Language Approach: e.g.
ORACLE has PL/SQL, a programming language based
on SQL; language incorporates SQL and its data types
as integral components
User-Friendly DBMS Interfaces
• Menu-based, popular for browsing on the web
(URSA)
• Forms-based, designed for naïve users
• Graphics-based
• Natural language: requests in written English
• Combinations of the above
Outline
 Data Models, Schemas, and Instances
 Three-Schema Architecture
 Database language and Interfaces
 The database system environment
 Centralized and client/server architecture
DBMS Component Modules
 A DBMS is a complex software system
 The figure showed in next slide is divide into two
halves.
 The top half refers to the various users of the database
system
 The lower half shows the internals of the DBMS
responsible for storage of data and processing of
transactions
Typical DBMS Component Modules[4]
Outline
 Data Models, Schemas, and Instances
 Three-Schema Architecture
 Database language and Interfaces
 The database system environment
 Centralized and client/server architecture
Centralized DBMS Architecture
 A centralized DBMS in which all the DBMS
functionality, application program execution, and
user interface processing were carried out on a single
machine
Basic Client/Server Architectures
 The client/server architecture was developed to deal
with computer environment in which a large number
of PCs, workstation, file server…
 A client in this framework is typically a user machine
that provides user interface capabilities and local
processing
 A server is a system containing both hardware and
software that can provide services to the client
machines.
Logical two-tier client server
architecture[5]
Two-tier Architecture
 This is called two-tire architectures because the
software components are distributed over two
systems: client and server
 The emergence of the Web changed the roles of
client and server, leading to the three-tier
architecture
Three-tier architecture
 The intermediate layer or middle layer is
sometimes called the application server or Web
server
 Three-tier Architecture Can Enhance Security:
 Database server only accessible via middle tier
 Clients cannot directly access database server
Three-tier client-server
architecture[6]
Three-tier architecture
 The presentation layer displays information to the
user
 The business logic layer handles intermediate rules
and constrains before data is passed up to the user or
down to the DBMS
 If the bottom layer is split into two layers (a web
server and a database server), then it is a 4-tire
architecture (possible to the n-tier)
REFERENCES
1. http://mytechnicalarticles.files.wordpress.com/2010/07/database-
system-concepts-and-architecture.pdf
2. http://cse.hcmut.edu.vn/~c503002/Files/DANGTranTri/slides/02.pdf
3. http://mytechnicalarticles.files.wordpress.com/2010/07/database-
system-concepts-and-architecture_ppt.pdf
4. Database System Concepts: Abraham Silberschatz, Henry F. Korth &
S., Sudarshan, TATA Mcgraw Hill.
5. Database Systems Concepts, design and Applications 2/e, Singh S. K,
PearsonEducation
6. SQL- PL/SQL, Ivan bayross, BPB Publications.
 
Image References
1.http://www.k9safesearch.com/search.jsp?q=relation+
+images+in+database+management+system&v=w
2.http://stackoverflow.com/questions/7991112/database-normalization-
for-school-management-system
3.http://www.expertsmind.com/questions/draw-and-explain-the-three-
level-architecture-of-database-30163918.aspx
4.http://www.expertsmind.com/questions/draw-and-DBMS Component
Modules-of-database-30163918.aspx
5.http://www.studytonight.com/dbms/architecture-of-database.php
6.http://www.studytonight.com/dbms/architecture-of-database.php

More Related Content

What's hot (20)

DOCX
Dbms Concepts
adukkas
 
PPT
Dbms relational model
Chirag vasava
 
PPT
Ansi spark
jani
 
PPT
Chapter02
sasa_eldoby
 
PPT
Unit01 dbms
arnold 7490
 
PPTX
Database Design
learnt
 
PDF
Database management system chapter1
Pranab Dasgupta
 
PPTX
RDBMS.ppt
Ketan Chaoji
 
PPTX
Database abstraction
RituBhargava7
 
PDF
Introduction to Database Management System
Amiya9439793168
 
PPT
overview of database concept
gourav kottawar
 
PPTX
RDBMS
PriyangaRajaram
 
PPTX
Slide 3 data abstraction & 3 schema
Visakh V
 
PPT
Dbms models
devgocool
 
PPT
Database Concept by Luke Lonergan
Luke Lonergan
 
PPTX
Dbms classification according to data models
ABDUL KHALIQ
 
PDF
Data Abstraction
A. S. M. Shafi
 
PPTX
Basic Concept of Database
Marlon Jamera
 
Dbms Concepts
adukkas
 
Dbms relational model
Chirag vasava
 
Ansi spark
jani
 
Chapter02
sasa_eldoby
 
Unit01 dbms
arnold 7490
 
Database Design
learnt
 
Database management system chapter1
Pranab Dasgupta
 
RDBMS.ppt
Ketan Chaoji
 
Database abstraction
RituBhargava7
 
Introduction to Database Management System
Amiya9439793168
 
overview of database concept
gourav kottawar
 
Slide 3 data abstraction & 3 schema
Visakh V
 
Dbms models
devgocool
 
Database Concept by Luke Lonergan
Luke Lonergan
 
Dbms classification according to data models
ABDUL KHALIQ
 
Data Abstraction
A. S. M. Shafi
 
Basic Concept of Database
Marlon Jamera
 

Viewers also liked (7)

PPT
Database management systems cs403 power point slides lecture 05
Md.Abu Sayed
 
PPT
Database management systems cs403 power point slides lecture 04
Md.Abu Sayed
 
PDF
4 the relational data model and relational database constraints
Kumar
 
PDF
K to 12 TLE Curriculum Guide for Automotive
Dr. Joy Kenneth Sala Biasong
 
PPTX
Database system environment ppt.
yhen06
 
PPT
3. Relational Models in DBMS
koolkampus
 
PPTX
Database : Relational Data Model
Smriti Jain
 
Database management systems cs403 power point slides lecture 05
Md.Abu Sayed
 
Database management systems cs403 power point slides lecture 04
Md.Abu Sayed
 
4 the relational data model and relational database constraints
Kumar
 
K to 12 TLE Curriculum Guide for Automotive
Dr. Joy Kenneth Sala Biasong
 
Database system environment ppt.
yhen06
 
3. Relational Models in DBMS
koolkampus
 
Database : Relational Data Model
Smriti Jain
 
Ad

Similar to Mca ii-dbms- u-ii-the relational database model (20)

PPT
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Rai University
 
PPT
various data models used in database management system
mani651780
 
PPT
8028.ppt
PVinayIT
 
PPT
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
PDF
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
PPTX
Module 1 - Chapter 2.pptx
SoniaDevi15
 
PPT
Database Management Systems.ppt
tahakhan699813
 
PPT
Database system concepts
Kumar
 
PPTX
Ch1.2_DB system Concepts and Architecture.pptx
01fe20bcv092
 
PPTX
Fundamentals of database system - Database System Concepts and Architecture
Mustafa Kamel Mohammadi
 
PDF
Chapter 2.pdfChapter 2.pdfChapter 2.pdfChapter 2.pdf
temesgenabebe1
 
PDF
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
PPTX
Database system concepts
Dr. Jasmine Beulah Gnanadurai
 
PDF
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
PPS
Database Design Slide 1
ahfiki
 
PPT
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
PPTX
UNIT 1 dbdm ad3391 unit lecture notes ppt
yuvaraniit
 
PPTX
2.pptx
SandeepYadav949827
 
PPTX
Unit 1.2.pptx
ssuser0793931
 
PPTX
MODULE 1- Chapter-2 DBMS.pptx complete ppt of dbms module 1 chapter 2
preethipremkumar297
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Rai University
 
various data models used in database management system
mani651780
 
8028.ppt
PVinayIT
 
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
Module 1 - Chapter 2.pptx
SoniaDevi15
 
Database Management Systems.ppt
tahakhan699813
 
Database system concepts
Kumar
 
Ch1.2_DB system Concepts and Architecture.pptx
01fe20bcv092
 
Fundamentals of database system - Database System Concepts and Architecture
Mustafa Kamel Mohammadi
 
Chapter 2.pdfChapter 2.pdfChapter 2.pdfChapter 2.pdf
temesgenabebe1
 
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
Database system concepts
Dr. Jasmine Beulah Gnanadurai
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
Database Design Slide 1
ahfiki
 
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
UNIT 1 dbdm ad3391 unit lecture notes ppt
yuvaraniit
 
Unit 1.2.pptx
ssuser0793931
 
MODULE 1- Chapter-2 DBMS.pptx complete ppt of dbms module 1 chapter 2
preethipremkumar297
 
Ad

More from Rai University (20)

PDF
Brochure Rai University
Rai University
 
PPT
Mm unit 4point2
Rai University
 
PPT
Mm unit 4point1
Rai University
 
PPT
Mm unit 4point3
Rai University
 
PPT
Mm unit 3point2
Rai University
 
PPTX
Mm unit 3point1
Rai University
 
PPTX
Mm unit 2point2
Rai University
 
PPT
Mm unit 2 point 1
Rai University
 
PPT
Mm unit 1point3
Rai University
 
PPT
Mm unit 1point2
Rai University
 
PPTX
Mm unit 1point1
Rai University
 
DOCX
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Rai University
 
PPTX
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Rai University
 
PPTX
Bsc agri 2 pae u-4.3 public expenditure
Rai University
 
PPTX
Bsc agri 2 pae u-4.2 public finance
Rai University
 
PPS
Bsc agri 2 pae u-4.1 introduction
Rai University
 
PPT
Bsc agri 2 pae u-3.3 inflation
Rai University
 
PPTX
Bsc agri 2 pae u-3.2 introduction to macro economics
Rai University
 
PPTX
Bsc agri 2 pae u-3.1 marketstructure
Rai University
 
PPTX
Bsc agri 2 pae u-3 perfect-competition
Rai University
 
Brochure Rai University
Rai University
 
Mm unit 4point2
Rai University
 
Mm unit 4point1
Rai University
 
Mm unit 4point3
Rai University
 
Mm unit 3point2
Rai University
 
Mm unit 3point1
Rai University
 
Mm unit 2point2
Rai University
 
Mm unit 2 point 1
Rai University
 
Mm unit 1point3
Rai University
 
Mm unit 1point2
Rai University
 
Mm unit 1point1
Rai University
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Rai University
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Rai University
 
Bsc agri 2 pae u-4.3 public expenditure
Rai University
 
Bsc agri 2 pae u-4.2 public finance
Rai University
 
Bsc agri 2 pae u-4.1 introduction
Rai University
 
Bsc agri 2 pae u-3.3 inflation
Rai University
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Rai University
 
Bsc agri 2 pae u-3.1 marketstructure
Rai University
 
Bsc agri 2 pae u-3 perfect-competition
Rai University
 

Recently uploaded (20)

PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PPTX
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
Difference between write and update in odoo 18
Celine George
 
PPTX
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PDF
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
Introduction to Indian Writing in English
Trushali Dodiya
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Controller Request and Response in Odoo18
Celine George
 
Horarios de distribución de agua en julio
pegazohn1978
 
Difference between write and update in odoo 18
Celine George
 
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 

Mca ii-dbms- u-ii-the relational database model