DBMS Topics
Three-Level Architecture ANSI/SPARC Architecture
Last Updated : 21 May, 2026
The ANSI/SPARC three-level architecture also called the three-schema architecture is a framework for database management proposed by the American National Standards Insti
Overview
The ANSI/SPARC three-level architecture (also called the three-schema architecture) is a framework for database management proposed by the American National Standards Institute (ANSI) Standards Planning and Requirements Committee (SPARC) in 1975.
The goal is to separate the user's view of data from the physical storage of data, providing data independence and simplifying database management.
The Three Levels
External Level
Views / Apps
- Protected by logical independence
Conceptual Level
Logical Schema
- Central database structure
Internal Level
Physical Storage
- Files, indexes, pages, storage format
Level 1 — External Level (View Level)
The external level is the highest level and is closest to the end user. It describes the part of the database relevant to a particular user or application.
Key Points:
- There can be multiple external views for a single database
- Each view hides irrelevant or sensitive data from the user
- Defined using SQL CREATE VIEW statements
- Different users may see overlapping or completely different data
| Full Table | Employee(EmpID, Name, Salary, SSN, DeptID, HireDate) |
| HR View | Employee(EmpID, Name, DeptID, HireDate) |
| Payroll View | Employee(EmpID, Name, Salary, SSN) |
| Manager View | Employee(EmpID, Name, DeptID) |
Level 2 — Conceptual Level (Logical Level)
The conceptual level describes the logical structure of the entire database for all users. It is the "community view" — a single unified description of all data stored.
Key Points:
- Describes what data is stored (not how)
- Includes all entities, attributes, relationships, constraints
- Defined in terms of the conceptual data model (relational schema)
- Managed by the DBA
- Independent of physical storage and individual user views
Level 3 — Internal Level (Physical Level)
The internal level describes how data is physically stored on disk. It is the lowest level of abstraction.
Key Points:
- Describes actual storage structures used
- Includes file organization (sequential, indexed, hashed)
- Specifies indexes, storage allocation, compression
- Managed by the system (DBA has some influence)
- Completely hidden from end users
| - File | /var/db/student.ibd |
| - Format | InnoDB clustered B+ tree index on SID |
| - Page size | 16 KB |
| - Buffer pool allocation | 128 MB |
Mappings Between Levels
External-Conceptual Mapping
- Defines how external views correspond to the conceptual schema
- When a view is queried, the DBMS translates it to a conceptual-level query
- If the conceptual schema changes (e.g., a column is renamed), only this mapping is updated — the views themselves remain unchanged
Conceptual-Internal Mapping
- Defines how conceptual tables correspond to physical storage
- If the physical storage changes (e.g., a new index is added or data is moved), only this mapping is updated — the conceptual schema remains unchanged
Benefits of the Three-Level Architecture
| Benefit | Explanation |
|---|---|
| Data Independence | Changes at one level do not require changes at other levels |
| Data Security | Sensitive data can be hidden at the external level |
| Customization | Different users get tailored views of the same database |
| Simplification | Users work with simple views, not complex physical storage |
| Maintainability | Physical reorganization doesn't break applications |
Visual Summary
External Level
Views / Apps
- Protected by logical independence
Conceptual Level
Logical Schema
- Central database structure
Internal Level
Physical Storage
- Files, indexes, pages, storage format
Exam Focus
Revise definitions, diagrams, examples, and short-answer points for Three-Level Architecture ANSI/SPARC Architecture.
Interview Use
Prepare one clear explanation, one practical example, and one common mistake for this DBMS topic.
Search Terms
dbms, database management system, database notes, sql, unit, three, level, architecture
Related DBMS Topics