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

Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
adukkas
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
Chirag vasava
 
Ansi spark
Ansi sparkAnsi spark
Ansi spark
jani
 
Chapter02
Chapter02Chapter02
Chapter02
sasa_eldoby
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
arnold 7490
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
Pranab Dasgupta
 
RDBMS.ppt
RDBMS.pptRDBMS.ppt
RDBMS.ppt
Ketan Chaoji
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
RituBhargava7
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Amiya9439793168
 
Ch09
Ch09Ch09
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
gourav kottawar
 
RDBMS
RDBMSRDBMS
Slide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaSlide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schema
Visakh V
 
Dbms models
Dbms modelsDbms models
Dbms models
devgocool
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
Luke Lonergan
 
Ch1
Ch1Ch1
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
ABDUL KHALIQ
 
Data Abstraction
Data AbstractionData Abstraction
Data Abstraction
A. S. M. Shafi
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 

What's hot (20)

Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Ansi spark
Ansi sparkAnsi spark
Ansi spark
 
Chapter02
Chapter02Chapter02
Chapter02
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
Database Design
Database DesignDatabase Design
Database Design
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
 
RDBMS.ppt
RDBMS.pptRDBMS.ppt
RDBMS.ppt
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Ch09
Ch09Ch09
Ch09
 
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
 
RDBMS
RDBMSRDBMS
RDBMS
 
Slide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaSlide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schema
 
Dbms models
Dbms modelsDbms models
Dbms models
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
 
Ch1
Ch1Ch1
Ch1
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 
Data Abstraction
Data AbstractionData Abstraction
Data Abstraction
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 

Viewers also liked

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

Viewers also liked (7)

Database management systems cs403 power point slides lecture 05
Database management systems   cs403 power point slides lecture 05Database management systems   cs403 power point slides lecture 05
Database management systems cs403 power point slides lecture 05
 
Database management systems cs403 power point slides lecture 04
Database management systems   cs403 power point slides lecture 04Database management systems   cs403 power point slides lecture 04
Database management systems cs403 power point slides lecture 04
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
 
K to 12 TLE Curriculum Guide for Automotive
K to 12 TLE Curriculum Guide for AutomotiveK to 12 TLE Curriculum Guide for Automotive
K to 12 TLE Curriculum Guide for Automotive
 
Database system environment ppt.
Database system environment ppt.Database system environment ppt.
Database system environment ppt.
 
3. Relational Models in DBMS
3. Relational Models in DBMS3. Relational Models in DBMS
3. Relational Models in DBMS
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
 

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

Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Rai University
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 
8028.ppt
8028.ppt8028.ppt
8028.ppt
PVinayIT
 
Fundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureFundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and Architecture
Mustafa Kamel Mohammadi
 
2.pptx
2.pptx2.pptx
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
Sabeeh Ahmed
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
tahakhan699813
 
Db_05.ppt
Db_05.pptDb_05.ppt
Db_05.ppt
KamranAli649587
 
Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)
shahab3
 
Database concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class ActivitiesDatabase concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class Activities
Zainab Almugbel
 
Dbms module i
Dbms module iDbms module i
Dbms module i
SANTOSH RATH
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
Bhavya304221
 
Unit 1.2.pptx
Unit 1.2.pptxUnit 1.2.pptx
Unit 1.2.pptx
ssuser0793931
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONS
ghazi103
 
Database system
Database systemDatabase system
Database system
ikjsamuel
 
Database system
Database systemDatabase system
Database system
ikjsamuel
 
Lecture 1 to 3intro to normalization in database
Lecture 1 to 3intro to  normalization in databaseLecture 1 to 3intro to  normalization in database
Lecture 1 to 3intro to normalization in database
maqsoodahmedbscsfkhp
 

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

Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
8028.ppt
8028.ppt8028.ppt
8028.ppt
 
Fundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and ArchitectureFundamentals of database system - Database System Concepts and Architecture
Fundamentals of database system - Database System Concepts and Architecture
 
2.pptx
2.pptx2.pptx
2.pptx
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
 
Db_05.ppt
Db_05.pptDb_05.ppt
Db_05.ppt
 
Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)Database systems - Chapter 2 (Remaining)
Database systems - Chapter 2 (Remaining)
 
Database concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class ActivitiesDatabase concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class Activities
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
 
Unit 1.2.pptx
Unit 1.2.pptxUnit 1.2.pptx
Unit 1.2.pptx
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONS
 
Database system
Database systemDatabase system
Database system
 
Database system
Database systemDatabase system
Database system
 
Lecture 1 to 3intro to normalization in database
Lecture 1 to 3intro to  normalization in databaseLecture 1 to 3intro to  normalization in database
Lecture 1 to 3intro to normalization in database
 

More from Rai University

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
Rai University
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
Rai University
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
Rai University
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
Rai University
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
Rai University
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
Rai University
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
Rai University
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
Rai University
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
Rai University
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
Rai University
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Rai University
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Rai University
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
Rai University
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
Rai University
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
Rai University
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
Rai University
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
Rai University
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
Rai University
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
Rai University
 

More from Rai University (20)

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
 

Recently uploaded

Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 

Recently uploaded (20)

Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 

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

  • 1. The Relational Database Model Course:-MCA-II Subject:-Database Management System Unit:-2
  • 2. Outline  Data Models, Schemas, and Instances  Three-Schema Architecture  Database language and Interfaces  The database system environment  Centralized and client/server architecture
  • 3. 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
  • 4. 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
  • 5. Example of a Relation[1]
  • 6. 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
  • 8. Example of a Database Schema[2]
  • 9. 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
  • 10. 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.
  • 11. Outline  Data Models, Schemas, and Instances  Three-Schema Architecture  Database language and Interfaces  The database system environment  Centralized and client/server architecture
  • 12. 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
  • 13. 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.
  • 15. Outline  Data Models, Schemas, and Instances  Three-Schema Architecture  Database language and Interfaces  The database system environment  Centralized and client/server architecture
  • 16. 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
  • 17. 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
  • 18. 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
  • 19. Outline  Data Models, Schemas, and Instances  Three-Schema Architecture  Database language and Interfaces  The database system environment  Centralized and client/server architecture
  • 20. 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
  • 22. Outline  Data Models, Schemas, and Instances  Three-Schema Architecture  Database language and Interfaces  The database system environment  Centralized and client/server architecture
  • 23. 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
  • 24. 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.
  • 25. Logical two-tier client server architecture[5]
  • 26. 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
  • 27. 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
  • 29. 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)
  • 30. 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.