Chapter 02
Chapter 02
2: Database Environment
/22
Chapter Outline:
Data Independence
Database Languages
Data Models
Functions of a DBMS
1/22
1) Objectives of Three-Level Architecture:
1. All users should be able to access same data, but have a different customized view
of the data.
2/22
1) Objectives of Three-Level Architecture:
4. DBA should be able to change database storage structures without affecting the
users’ views.
6. DBA should be able to change conceptual structure of database without affecting all
users.
3/22
1) ANSI-SPARC Three-Level Architecture:
• External Level
4/22
1) ANSI-SPARC Three-Level Architecture:
• Conceptual Level
• Internal Level
6/22
1) Differences between Three Levels of ANSI-SPARC Architecture:
7/22
2) Data Independence:
• Means that upper levels are unaffected by changes to lower levels. logical and physical.
8/22
2) Data Independence:
• Means that upper levels are unaffected by changes to lower levels. logical and physical.
9/22
3) Database Languages:
• Allows the DBA or user to describe and name entities, attributes, and
relationships required for the application
10/22
3) Database Languages:
• Collection of concepts for describing data, relationships between data, and constraints on
the data in an organization.
a structural part
12/22
4) Data Models:
13/22
4) Data Models:
14/22
4) Data Models:
15/22
4) Data Models:
16/22
4) Data Models:
17/22
4) Conceptual Modeling:
18/22
5) Functions of a DBMS:
2. A User-Accessible Catalog.
3. Transaction Support.
5. Recovery Services.
19/22
5) Functions of a DBMS:
6. Authorization Services.
8. Integrity Services.
20/22
End of Chapter 2
22/22