SlideShare a Scribd company logo
Database System Concepts and
Architecture
Course:-BSC CS-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.p
df
3. http://mytechnicalarticles.files.wordpress.com/2010/07/database-
system-concepts-and-architecture_ppt.pdf
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)

PPTX
Grasp patterns and its types
Syed Hassan Ali
 
PPT
C++ classes tutorials
Mayank Jain
 
PPT
RichControl in Asp.net
Bhumivaghasiya
 
PPTX
View of data DBMS
Rahul Narang
 
PPTX
Dbms architecture
Shubham Dwivedi
 
PPTX
Decomposition using Functional Dependency
Raj Naik
 
PDF
Addressing modes in computer organization
bushraphd2022
 
PPTX
Performance analysis(Time & Space Complexity)
swapnac12
 
PPTX
Introduction to SQL
Ehsan Hamzei
 
PPTX
File Management in Operating System
Janki Shah
 
PPTX
Adbms 3 main characteristics of the database approach
Vaibhav Khanna
 
PPTX
Distributed Objects and Remote Invocation
Medicaps University
 
PPTX
Character Attribute in computer graphics
HariTharshiniBscIT1
 
PPTX
Database security
MaryamAsghar9
 
PPT
Entity relationship modelling
Dr. C.V. Suresh Babu
 
PPT
Data members and member functions
Harsh Patel
 
PPTX
Er model ppt
Pihu Goel
 
PPT
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...
Pallepati Vasavi
 
PPTX
Sql fundamentals
Ravinder Kamboj
 
PPTX
Components and Advantages of DBMS
Shubham Joon
 
Grasp patterns and its types
Syed Hassan Ali
 
C++ classes tutorials
Mayank Jain
 
RichControl in Asp.net
Bhumivaghasiya
 
View of data DBMS
Rahul Narang
 
Dbms architecture
Shubham Dwivedi
 
Decomposition using Functional Dependency
Raj Naik
 
Addressing modes in computer organization
bushraphd2022
 
Performance analysis(Time & Space Complexity)
swapnac12
 
Introduction to SQL
Ehsan Hamzei
 
File Management in Operating System
Janki Shah
 
Adbms 3 main characteristics of the database approach
Vaibhav Khanna
 
Distributed Objects and Remote Invocation
Medicaps University
 
Character Attribute in computer graphics
HariTharshiniBscIT1
 
Database security
MaryamAsghar9
 
Entity relationship modelling
Dr. C.V. Suresh Babu
 
Data members and member functions
Harsh Patel
 
Er model ppt
Pihu Goel
 
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...
Pallepati Vasavi
 
Sql fundamentals
Ravinder Kamboj
 
Components and Advantages of DBMS
Shubham Joon
 

Viewers also liked (20)

PDF
2 database system concepts and architecture
Kumar
 
PDF
Database system architecture
Dk Rukshan
 
PDF
Database System Concepts and Architecture
sontumax
 
PPT
Data independence
Aashima Wadhwa
 
PPTX
Database System Architectures
Information Technology
 
PPTX
physical and logical data independence
apoorva_upadhyay
 
PPS
Architecture of-dbms-and-data-independence
Anuj Modi
 
PDF
Database Architecture and Basic Concepts
Tony Wong
 
PPT
Different data models
madhusha udayangani
 
PPTX
Dbms slides
rahulrathore725
 
PDF
Dbms intro
mdhamiwal
 
DOC
User-Friendly Database Interface Design (804)
amytaylor
 
PPT
Chapter2
Er Avinash Ghoga
 
PPT
Database concepts and Archeticture Ch2 with in class Activities
Zainab Almugbel
 
PDF
Chapter 2 Relational Data Model-part1
Eddyzulham Mahluzydde
 
PPTX
Database and types of databases
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Database management system
9535814851
 
PPT
Mba it unit 3 ppt
Suguna Ramya
 
PPTX
Store procedures
Farzan Wadood
 
PPT
Uses of dbms
MISY
 
2 database system concepts and architecture
Kumar
 
Database system architecture
Dk Rukshan
 
Database System Concepts and Architecture
sontumax
 
Data independence
Aashima Wadhwa
 
Database System Architectures
Information Technology
 
physical and logical data independence
apoorva_upadhyay
 
Architecture of-dbms-and-data-independence
Anuj Modi
 
Database Architecture and Basic Concepts
Tony Wong
 
Different data models
madhusha udayangani
 
Dbms slides
rahulrathore725
 
Dbms intro
mdhamiwal
 
User-Friendly Database Interface Design (804)
amytaylor
 
Database concepts and Archeticture Ch2 with in class Activities
Zainab Almugbel
 
Chapter 2 Relational Data Model-part1
Eddyzulham Mahluzydde
 
Database and types of databases
baabtra.com - No. 1 supplier of quality freshers
 
Database management system
9535814851
 
Mba it unit 3 ppt
Suguna Ramya
 
Store procedures
Farzan Wadood
 
Uses of dbms
MISY
 
Ad

Similar to Bsc cs ii-dbms- u-ii-database system concepts and architecture (20)

PPT
Mca ii-dbms- u-ii-the relational database model
Rai University
 
PPT
various data models used in database management system
mani651780
 
PPT
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
PDF
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
PPT
8028.ppt
PVinayIT
 
PPT
Database Management Systems.ppt
tahakhan699813
 
PPTX
Module 1 - Chapter 2.pptx
SoniaDevi15
 
PDF
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
PPTX
Database system concepts
Dr. Jasmine Beulah Gnanadurai
 
PDF
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
PPTX
Ch1.2_DB system Concepts and Architecture.pptx
01fe20bcv092
 
PPTX
Fundamentals of database system - Database System Concepts and Architecture
Mustafa Kamel Mohammadi
 
PPT
Database system concepts and architecture
Jafar Nesargi
 
PPT
Chapter2
Jafar Nesargi
 
PPT
Chapter2
Jafar Nesargi
 
PPT
Database system concepts
Kumar
 
PPT
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
PPT
Chapter02 database system in computer.ppt
ubaidullah75790
 
PPTX
2.pptx
SandeepYadav949827
 
PPT
Chapter02.ppt
MemMem25
 
Mca ii-dbms- u-ii-the relational database model
Rai University
 
various data models used in database management system
mani651780
 
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
8028.ppt
PVinayIT
 
Database Management Systems.ppt
tahakhan699813
 
Module 1 - Chapter 2.pptx
SoniaDevi15
 
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
Database system concepts
Dr. Jasmine Beulah Gnanadurai
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
Ch1.2_DB system Concepts and Architecture.pptx
01fe20bcv092
 
Fundamentals of database system - Database System Concepts and Architecture
Mustafa Kamel Mohammadi
 
Database system concepts and architecture
Jafar Nesargi
 
Chapter2
Jafar Nesargi
 
Chapter2
Jafar Nesargi
 
Database system concepts
Kumar
 
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
Chapter02 database system in computer.ppt
ubaidullah75790
 
Chapter02.ppt
MemMem25
 
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)

PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
Introduction presentation of the patentbutler tool
MIPLM
 
PPTX
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Introduction presentation of the patentbutler tool
MIPLM
 
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
infertility, types,causes, impact, and management
Ritu480198
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
Introduction to Indian Writing in English
Trushali Dodiya
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 

Bsc cs ii-dbms- u-ii-database system concepts and architecture