SlideShare a Scribd company logo
2
Most read
6
Most read
7
Most read
Chapter 2 :
  Database
Environment
     Database Systems   1
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             2
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         3
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           4
ANSI-SPARC Three-Level Architecture




                                    ANSI - American
                                    National Standards
                                    Institute
                                    SPARC - Standards
                                    Planning and
                                    Requirements
                                    Committee




                 Database Systems                    5
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                 6
Differences between Three Levels of
ANSI-SPARC Architecture




                 Database Systems     7
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          8
Data Independence and the ANSI-
SPARC Three-Level Architecture




                 Database Systems   9
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                 10
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         11
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                12
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               13
Database Languages
   Fourth Generation Language (4GL)
       Query Languages
       Forms Generators
       Report Generators
       Graphics Generators
       Application Generators




                         Database Systems   14
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           15
Data Models
   Categories of data models include:
     Object-based
     Record-based
     Physical.


   Object-Based Data Models
     Entity-Relationship
     Semantic
     Functional
     Object-Oriented.


                         Database Systems   16
Data Models

   Record-Based Data Models
     Relational Data Model
     Network Data Model
     Hierarchical Data Model.


   Physical Data Models




                      Database Systems   17
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               18
Functions of a DBMS
    Data Storage, Retrieval, and Update.

    A User-Accessible Catalog.

    Transaction Support.

    Concurrency Control Services.

    Recovery Services.

                          Database Systems   19
Functions of a DBMS
    Authorization Services.

    Support for Data Communication.

    Integrity Services.

    Services to Promote Data Independence.

    Utility Services.


                           Database Systems   20
Components of a DBMS




                Database Systems   21
Components of Database Manager (DM)




                  Database Systems    22
END OF CHAPTER 2
        Database Systems   23

More Related Content

PDF
Relational Algebra & Calculus
PPTX
PPT on Photoshop
DOCX
Architectural Styles and Case Studies, Software architecture ,unit–2
PPT
Introduction to photoshop
PPTX
Presentation on Adobe Photoshop
PPTX
Database systems - Chapter 1
PPT
Types of software
PPTX
Types of computer
Relational Algebra & Calculus
PPT on Photoshop
Architectural Styles and Case Studies, Software architecture ,unit–2
Introduction to photoshop
Presentation on Adobe Photoshop
Database systems - Chapter 1
Types of software
Types of computer

What's hot (20)

PPT
Database Chapter 3
PPT
Data models
PPTX
Object relational database management system
PDF
Dbms 3: 3 Schema Architecture
PDF
Enhanced Entity-Relationship (EER) Modeling
PPT
Lecture 01 introduction to database
PPT
Introduction & history of dbms
PDF
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
PPT
Files Vs DataBase
PPTX
Chapter-4 Enhanced ER Model
PPTX
DBMS and its Models
PPT
Fundamentals of Database system
PPT
FDS (Sixth Edition) | C1 | Databases and Database Users
PPT
OODM-object oriented data model
PPT
File organization 1
PPTX
Database administrator
PPT
Data Base Management System
PPTX
PPTX
Data abstraction in DBMS
PPTX
All data models in dbms
Database Chapter 3
Data models
Object relational database management system
Dbms 3: 3 Schema Architecture
Enhanced Entity-Relationship (EER) Modeling
Lecture 01 introduction to database
Introduction & history of dbms
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Files Vs DataBase
Chapter-4 Enhanced ER Model
DBMS and its Models
Fundamentals of Database system
FDS (Sixth Edition) | C1 | Databases and Database Users
OODM-object oriented data model
File organization 1
Database administrator
Data Base Management System
Data abstraction in DBMS
All data models in dbms
Ad

Similar to Chapter 2 database environment (20)

PDF
Chapter2databaseenvironment 120307033742-phpapp01
PPTX
week 1-Lec-01.pptx hguggguh i i ih ihih
PDF
CBSE XII Database Concepts And MySQL Presentation
PDF
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
PPTX
Database-management-system-dbms-ppt.pptx
PPTX
Database Management System ppt
PDF
csedatabasemanagementsystemppt-170825044344.pdf
PPTX
BM322_03.pptx123456786546654525165654646564
PDF
Dbms module i
PPTX
database management system anna universityUnit1.pptx
PPT
A N S I S P A R C Architecture
PDF
313302 DBMS UNIT 1 PPT for DIploma Computer Eng
PDF
Comprehensive Guide to Effective Data Model Principles
PPTX
Introduction to DBMS.pptx
PPTX
CP 121_2.pptx about time to be implement
PPT
Chapter2
PPT
Chapter2
PPT
Database system concepts and architecture
PPTX
Database Management Systems Lecture # 2 Inter
PPTX
ICT L5+.pptx
Chapter2databaseenvironment 120307033742-phpapp01
week 1-Lec-01.pptx hguggguh i i ih ihih
CBSE XII Database Concepts And MySQL Presentation
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
Database-management-system-dbms-ppt.pptx
Database Management System ppt
csedatabasemanagementsystemppt-170825044344.pdf
BM322_03.pptx123456786546654525165654646564
Dbms module i
database management system anna universityUnit1.pptx
A N S I S P A R C Architecture
313302 DBMS UNIT 1 PPT for DIploma Computer Eng
Comprehensive Guide to Effective Data Model Principles
Introduction to DBMS.pptx
CP 121_2.pptx about time to be implement
Chapter2
Chapter2
Database system concepts and architecture
Database Management Systems Lecture # 2 Inter
ICT L5+.pptx
Ad

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
Teaching material agriculture food technology
PDF
Approach and Philosophy of On baking technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
cuic standard and advanced reporting.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation_ Review paper, used for researhc scholars
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Teaching material agriculture food technology
Approach and Philosophy of On baking technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Chapter 2 database environment

  • 1. Chapter 2 : Database Environment Database Systems 1
  • 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 2
  • 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 3
  • 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 4
  • 5. ANSI-SPARC Three-Level Architecture ANSI - American National Standards Institute SPARC - Standards Planning and Requirements Committee Database Systems 5
  • 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 6
  • 7. Differences between Three Levels of ANSI-SPARC Architecture Database Systems 7
  • 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 8
  • 9. Data Independence and the ANSI- SPARC Three-Level Architecture Database Systems 9
  • 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 10
  • 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 11
  • 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 12
  • 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 13
  • 14. Database Languages  Fourth Generation Language (4GL)  Query Languages  Forms Generators  Report Generators  Graphics Generators  Application Generators Database Systems 14
  • 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 15
  • 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 16
  • 17. Data Models  Record-Based Data Models  Relational Data Model  Network Data Model  Hierarchical Data Model.  Physical Data Models Database Systems 17
  • 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 18
  • 19. Functions of a DBMS  Data Storage, Retrieval, and Update.  A User-Accessible Catalog.  Transaction Support.  Concurrency Control Services.  Recovery Services. Database Systems 19
  • 20. Functions of a DBMS  Authorization Services.  Support for Data Communication.  Integrity Services.  Services to Promote Data Independence.  Utility Services. Database Systems 20
  • 21. Components of a DBMS Database Systems 21
  • 22. Components of Database Manager (DM) Database Systems 22
  • 23. END OF CHAPTER 2 Database Systems 23