SlideShare a Scribd company logo
Database Systems 1
Chapter 2 :Chapter 2 :
DatabaseDatabase
EnvironmentEnvironment
Database Systems 2
Learning Outcomes
At the end of this chapter, students will be able to:
 Describe ANSI/SPARC Architecture
 Described roles in database environment
 Describe data models & conceptual modeling
Database Systems 3
Objectives of Three-Level Architecture
 All users should be able to access same
data.
 A user's view is immune to changes made
in other views.
 Users should not need to know physical
database storage details.
Database Systems 4
Objectives of Three-Level Architecture
 DBA should be able to change database
storage structures without affecting the
users' views.
 Internal structure of database should be
unaffected by changes to physical aspects
of storage.
 DBA should be able to change conceptual
structure of database without affecting all
users.
Database Systems 5
ANSI-SPARC Three-Level Architecture
ANSI - American
National Standards
Institute
SPARC - Standards
Planning and
Requirements
Committee
Database Systems 6
ANSI-SPARC Three-Level Architecture
 External Level
 Users’ view of the database.
 Describes that part of database that is relevant to a
particular user.
 Conceptual Level
 Community view of the database.
 Describes what data is stored in database and
relationships among the data.
 Internal Level
 Physical representation of the database on the
computer.
 Describes how the data is stored in the database.
Database Systems 7
Differences between Three Levels of
ANSI-SPARC Architecture
Database Systems 8
Data Independence and the ANSI-
SPARC Three-Level Architecture
Data Independence: structure of
organization and data format which are
stored physically in storage are independent
from its application.
Specifically, data independence means
changes in storage structure and data
access technique does NOT affect
application program.
Database Systems 9
Data Independence and the ANSI-
SPARC Three-Level Architecture
Database Systems 10
Data Independence
 Logical Data Independence
 Refers to immunity of external schemas to changes in
conceptual schema.
 Conceptual schema changes (e.g. addition/removal of
entities).
 Should not require changes to external schema or
rewrites of application programs.
 Physical Data Independence
 Refers to immunity of conceptual schema to changes in
the internal schema.
 Internal schema changes (e.g. using different file
organizations, storage structures/devices).
 Should not require change to conceptual or external
schemas.
Database Systems 11
Roles in the Database Environment
 Data Administrator (DA)
 Database Administrator (DBA)
 Database Designers (Logical and Physical)
 Application Programmers
 End Users (naive and sophisticated)
Database Systems 12
Database Languages
 Data Definition Language (DDL)
 Allows the DBA or user to describe and name
entities, attributes, and relationships required
for the application
 plus any associated integrity and security
constraints.
Database Systems 13
Database Languages
 Data Manipulation Language (DML)
 Provides basic data manipulation operations
on data held in the database.
 Procedural DML
 allows user to tell system exactly how to
manipulate data.
 Non-Procedural DML
 allows user to state what data is needed rather
than how it is to be retrieved.
Database Systems 14
Database Languages
 Fourth Generation Language (4GL)
 Query Languages
 Forms Generators
 Report Generators
 Graphics Generators
 Application Generators
Database Systems 15
Data Model
 Integrated collection of concepts for
describing data, relationships between data,
and constraints on the data in an organization.
 Data Model comprises:
 a structural part;
 a manipulative part;
 possibly a set of integrity rules.
 Purpose
 To represent data in an understandable way.
Database Systems 16
Data Models
 Categories of data models include:
 Object-based
 Record-based
 Physical.
 Object-Based Data Models
 Entity-Relationship
 Semantic
 Functional
 Object-Oriented.
Database Systems 17
Data Models
 Record-Based Data Models
 Relational Data Model
 Network Data Model
 Hierarchical Data Model.
 Physical Data Models
Database Systems 18
Conceptual Modelling
 Conceptual schema is the core of a system supporting
all user views.
 Should be complete and accurate representation of an
organization’s data requirements.
 Conceptual modeling is process of developing a
model of information use that is independent of
implementation details.
 Result is a conceptual data model.
Database Systems 19
Functions of a DBMS
 Data Storage, Retrieval, and Update.
 A User-Accessible Catalog.
 Transaction Support.
 Concurrency Control Services.
 Recovery Services.
Database Systems 20
Functions of a DBMS
 Authorization Services.
 Support for Data Communication.
 Integrity Services.
 Services to Promote Data Independence.
 Utility Services.
Database Systems 21
Components of a DBMS
Database Systems 22
Components of Database Manager (DM)
Database Systems 23
END OF CHAPTER 2

More Related Content

PPTX
Database systems - Chapter 2
PPTX
Database systems - Chapter 1
PPTX
Database systems - Chapter 2 (Remaining)
PDF
Database management systems
PPT
ANSI-SPARC - Star Trek style - v2.0
PPTX
Database abstraction
PPS
Architecture of-dbms-and-data-independence
PPTX
3 Level Architecture
Database systems - Chapter 2
Database systems - Chapter 1
Database systems - Chapter 2 (Remaining)
Database management systems
ANSI-SPARC - Star Trek style - v2.0
Database abstraction
Architecture of-dbms-and-data-independence
3 Level Architecture

What's hot (20)

PPTX
Slide 3 data abstraction & 3 schema
PPT
Week 2 Characteristics & Benefits of a Database & Types of Data Models
PPT
Data independence
PPT
Chapter 2 database architecture
PPTX
View of data DBMS
PPTX
Database fundamentals
PDF
Data models
PDF
Unit 1 basic concepts of DBMS
PPT
L7 data model and dbms architecture
PDF
Dbms 3: 3 Schema Architecture
PPTX
Degrees of data abstraction
PPT
Lecture 00 introduction to course
PPTX
Powerpoint chap.9
PPTX
Week 1 Lab Directions
PPTX
Dbms ppt
PPT
Dbms
PPTX
Dbms unit i
PPTX
Data Base Management System(Dbms)Sunita
PPTX
PPTX
Unit iii dbms
Slide 3 data abstraction & 3 schema
Week 2 Characteristics & Benefits of a Database & Types of Data Models
Data independence
Chapter 2 database architecture
View of data DBMS
Database fundamentals
Data models
Unit 1 basic concepts of DBMS
L7 data model and dbms architecture
Dbms 3: 3 Schema Architecture
Degrees of data abstraction
Lecture 00 introduction to course
Powerpoint chap.9
Week 1 Lab Directions
Dbms ppt
Dbms
Dbms unit i
Data Base Management System(Dbms)Sunita
Unit iii dbms
Ad

Similar to Chapter2databaseenvironment 120307033742-phpapp01 (20)

PPT
Chapter 2 database environment
PPTX
Database Languages Architecture Data Model.pptx
PPTX
CS3270 - DATABASE SYSTEM - Lecture (2)
PDF
Database Management system, database architecture unikkkkkkkkkkkkkkk
PPT
a presenation on various dtabase languages
PPTX
Database Environment in Database Management Systems
PDF
Chapter (Two) The best lecture PowerPoint
PPTX
Fundamentals of database system - Database System Concepts and Architecture
PDF
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
PPT
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
PDF
14 db system
PDF
DBMS CONCEPT
PDF
Unit 1 DBMS
PDF
Chapter 1 Fundamentals of Database Management System
PPTX
Database Management Systems Lecture # 2 Inter
PPTX
DBMS - chapter 1 DATABASE METHOD OF SYSTEM 1.pptx
PPT
ARCHITECTURE OF DBMS (1).ppt
PPT
INTRODUCTION TO DATABASE
PPTX
Database system concepts
Chapter 2 database environment
Database Languages Architecture Data Model.pptx
CS3270 - DATABASE SYSTEM - Lecture (2)
Database Management system, database architecture unikkkkkkkkkkkkkkk
a presenation on various dtabase languages
Database Environment in Database Management Systems
Chapter (Two) The best lecture PowerPoint
Fundamentals of database system - Database System Concepts and Architecture
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
14 db system
DBMS CONCEPT
Unit 1 DBMS
Chapter 1 Fundamentals of Database Management System
Database Management Systems Lecture # 2 Inter
DBMS - chapter 1 DATABASE METHOD OF SYSTEM 1.pptx
ARCHITECTURE OF DBMS (1).ppt
INTRODUCTION TO DATABASE
Database system concepts
Ad

More from Ankit Dubey (20)

PDF
Unit 1 android and it's tools quiz {mad cwipedia}
PDF
Scheduling
PDF
Chapter 4
PDF
Chapter 3
PDF
Chapter 2
PDF
Chapter 1
PDF
Chapter 5
PDF
Ch5 cpu-scheduling
PDF
Ch4 threads
PDF
Ch3 processes
PPT
Ch2 system structure
PPT
Ch1 introduction-to-os
PDF
Android i
PDF
Mongodb mock test_ii
PDF
Android mock test_iii
PDF
Android mock test_ii
PDF
Ajp notes-chapter-06
PDF
Ajp notes-chapter-05
PDF
Ajp notes-chapter-04
PDF
Ajp notes-chapter-03
Unit 1 android and it's tools quiz {mad cwipedia}
Scheduling
Chapter 4
Chapter 3
Chapter 2
Chapter 1
Chapter 5
Ch5 cpu-scheduling
Ch4 threads
Ch3 processes
Ch2 system structure
Ch1 introduction-to-os
Android i
Mongodb mock test_ii
Android mock test_iii
Android mock test_ii
Ajp notes-chapter-06
Ajp notes-chapter-05
Ajp notes-chapter-04
Ajp notes-chapter-03

Recently uploaded (20)

PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Cell Types and Its function , kingdom of life
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
01-Introduction-to-Information-Management.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Basic Mud Logging Guide for educational purpose
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Institutional Correction lecture only . . .
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Computing-Curriculum for Schools in Ghana
O5-L3 Freight Transport Ops (International) V1.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Complications of Minimal Access Surgery at WLH
Cell Types and Its function , kingdom of life
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Structure & Organelles in detailed.
01-Introduction-to-Information-Management.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial disease of the cardiovascular and lymphatic systems
human mycosis Human fungal infections are called human mycosis..pptx
Basic Mud Logging Guide for educational purpose
Supply Chain Operations Speaking Notes -ICLT Program
Sports Quiz easy sports quiz sports quiz
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Institutional Correction lecture only . . .

Chapter2databaseenvironment 120307033742-phpapp01

  • 1. Database Systems 1 Chapter 2 :Chapter 2 : DatabaseDatabase EnvironmentEnvironment
  • 2. Database Systems 2 Learning Outcomes At the end of this chapter, students will be able to:  Describe ANSI/SPARC Architecture  Described roles in database environment  Describe data models & conceptual modeling
  • 3. Database Systems 3 Objectives of Three-Level Architecture  All users should be able to access same data.  A user's view is immune to changes made in other views.  Users should not need to know physical database storage details.
  • 4. Database Systems 4 Objectives of Three-Level Architecture  DBA should be able to change database storage structures without affecting the users' views.  Internal structure of database should be unaffected by changes to physical aspects of storage.  DBA should be able to change conceptual structure of database without affecting all users.
  • 5. Database Systems 5 ANSI-SPARC Three-Level Architecture ANSI - American National Standards Institute SPARC - Standards Planning and Requirements Committee
  • 6. Database Systems 6 ANSI-SPARC Three-Level Architecture  External Level  Users’ view of the database.  Describes that part of database that is relevant to a particular user.  Conceptual Level  Community view of the database.  Describes what data is stored in database and relationships among the data.  Internal Level  Physical representation of the database on the computer.  Describes how the data is stored in the database.
  • 7. Database Systems 7 Differences between Three Levels of ANSI-SPARC Architecture
  • 8. Database Systems 8 Data Independence and the ANSI- SPARC Three-Level Architecture Data Independence: structure of organization and data format which are stored physically in storage are independent from its application. Specifically, data independence means changes in storage structure and data access technique does NOT affect application program.
  • 9. Database Systems 9 Data Independence and the ANSI- SPARC Three-Level Architecture
  • 10. Database Systems 10 Data Independence  Logical Data Independence  Refers to immunity of external schemas to changes in conceptual schema.  Conceptual schema changes (e.g. addition/removal of entities).  Should not require changes to external schema or rewrites of application programs.  Physical Data Independence  Refers to immunity of conceptual schema to changes in the internal schema.  Internal schema changes (e.g. using different file organizations, storage structures/devices).  Should not require change to conceptual or external schemas.
  • 11. Database Systems 11 Roles in the Database Environment  Data Administrator (DA)  Database Administrator (DBA)  Database Designers (Logical and Physical)  Application Programmers  End Users (naive and sophisticated)
  • 12. Database Systems 12 Database Languages  Data Definition Language (DDL)  Allows the DBA or user to describe and name entities, attributes, and relationships required for the application  plus any associated integrity and security constraints.
  • 13. Database Systems 13 Database Languages  Data Manipulation Language (DML)  Provides basic data manipulation operations on data held in the database.  Procedural DML  allows user to tell system exactly how to manipulate data.  Non-Procedural DML  allows user to state what data is needed rather than how it is to be retrieved.
  • 14. Database Systems 14 Database Languages  Fourth Generation Language (4GL)  Query Languages  Forms Generators  Report Generators  Graphics Generators  Application Generators
  • 15. Database Systems 15 Data Model  Integrated collection of concepts for describing data, relationships between data, and constraints on the data in an organization.  Data Model comprises:  a structural part;  a manipulative part;  possibly a set of integrity rules.  Purpose  To represent data in an understandable way.
  • 16. Database Systems 16 Data Models  Categories of data models include:  Object-based  Record-based  Physical.  Object-Based Data Models  Entity-Relationship  Semantic  Functional  Object-Oriented.
  • 17. Database Systems 17 Data Models  Record-Based Data Models  Relational Data Model  Network Data Model  Hierarchical Data Model.  Physical Data Models
  • 18. Database Systems 18 Conceptual Modelling  Conceptual schema is the core of a system supporting all user views.  Should be complete and accurate representation of an organization’s data requirements.  Conceptual modeling is process of developing a model of information use that is independent of implementation details.  Result is a conceptual data model.
  • 19. Database Systems 19 Functions of a DBMS  Data Storage, Retrieval, and Update.  A User-Accessible Catalog.  Transaction Support.  Concurrency Control Services.  Recovery Services.
  • 20. Database Systems 20 Functions of a DBMS  Authorization Services.  Support for Data Communication.  Integrity Services.  Services to Promote Data Independence.  Utility Services.
  • 22. Database Systems 22 Components of Database Manager (DM)
  • 23. Database Systems 23 END OF CHAPTER 2