Lec 3
Lec 3
Lec 3
DBMS_Week 3-4
Three-Schema Architecture
– Internal schema (one view)
• describes physical storage structures
• access paths, indexes used
• Typically uses a physical data model
• Mappings among schema levels are needed to transform requests and data.
Programs refer to an external schema, and are mapped by the DBMS to the
internal schema for execution data independence
Three-Schema Architecture
(Contd.)
First Year 5
Physical schema
6
External schemas
First Year 7
Data Independence
• data independence fully support in DBMS,
– When a schema at a lower level is changed .
• Only the mappings need to be changed between this schema
and higher-level schema(s).
• select *
from branch
where branchNo = ‘B003’;
• Centralized DBMS:
• Other classifications:
• Single-user (typically used with micro- computers) vs.
multi-user (most DBMSs).
• Centralized (uses a single computer with one database)
vs. distributed (uses multiple computers, multiple
databases)
Classification of DBMSs