Every time you check your bank balance through a mobile app, the system shows you a clean number on the screen. You never see the millions of rows, the index files, or the disk sectors working behind that single figure. This separation between what you see and what actually happens inside the machine is no accident. It is the result of a deliberate design called database abstraction, formalised decades ago and still shaping how every modern database management system works today.

Table of Contents

What is database abstraction?

Database abstraction is the practice of hiding the complex details of how data is stored so that different people can work with it at the level they actually need. A college student querying library records does not need to know about file structures on a hard disk. A database administrator tuning performance does not need to worry about how a particular student sees their exam results. Each person works with a simplified picture suited to their role.

This idea was given a formal structure in 1975 by a committee known as ANSI/SPARC (American National Standards Institute, Standards Planning And Requirements Committee). The committee proposed an abstract design standard for database management systems that splits a database into three distinct levels. Although the full model never became an official standard and no commercial DBMS implements it exactly, its core ideas are now built into almost every relational database.

Because each of these three levels is described by a separate schema (a formal description of structure), the model is also called the three-schema architecture. The three levels are the external level, the conceptual level, and the internal level. Together they move from the user-facing surface down to the raw physical storage.

External view: how users interact with the database

The external level is the topmost layer and the one closest to end users. It describes the part of the database that is relevant to a particular user or application, while hiding everything else. This level is made up of several external schemas, also called user views.

The key feature here is that the same underlying data can be presented differently to different users. One user may view a name as (first name, last name) while another sees it as (last name, first name), even though the data is stored only once. Each view contains only the entities, attributes, and relationships that a specific user wants to work with.

Why multiple views matter

Consider a university database used by an examination department. The examination clerk sees student roll numbers, marks, and grades. A hostel warden using the same database sees only names, room numbers, and contact details. The accounts section sees fee records. None of them sees the complete database, and none needs to.

This selective presentation serves two purposes. First, it makes the system simpler for each user because irrelevant information is removed. Second, it supports security. The external level excludes data that the user is not authorised to access, so a hostel warden cannot accidentally view examination marks. Different views can even represent the same data in different formats without conflict.

Conceptual view: the logical structure of data

Below the external level sits the conceptual level, the middle layer of the architecture. While each external view shows only a slice, the conceptual level describes the entire database as a single logical whole. It is sometimes called the community view because it represents the complete picture that the whole organisation agrees on.

The conceptual schema describes what data is stored in the database and how the entities, their attributes, and their relationships are connected. It captures the meaning of the data, the security rules, and the integrity constraints that keep the data accurate and consistent. Crucially, it does all this without specifying how the data is physically stored.

What the conceptual level contains

Think of a student information system at a college. At the conceptual level, you would define that there is a Student entity with attributes such as roll number, name, and date of birth; a Course entity; and a relationship showing which students are enrolled in which courses. You would also define rules, for example that every student must have a unique roll number, or that marks cannot be negative.

What you would not find at this level is any mention of disk files, indexes, or storage addresses. The conceptual level represents the complete view of the database that the organisation needs, independent of any storage consideration. This independence from physical detail is what makes it the stable backbone of the whole design. Database designers spend most of their effort here, because getting the logical structure right is the foundation everything else rests on.

Internal view: how data is physically stored

The internal level is the lowest layer and represents the database as it physically exists on the storage device. It is also called the physical level. Here the focus shifts entirely to efficiency and the practical realities of storing bytes on disk.

The internal schema describes how the data is actually stored, dealing with complex low-level data structures, file organisations, and access methods. It decides matters such as whether records are stored in a heap or sorted order, what indexes exist to speed up searches, and how disk space is allocated. If data compression or encryption techniques are used, they are handled at this level too.

The details handled at the internal level

Returning to the student database, at the internal level a single student record might be stored as a fixed-size block on a particular disk sector, with the name field beginning at one byte offset and the date of birth at another. The system might maintain a B-tree index on the roll number so that searching for a particular student takes a fraction of a second instead of scanning every record.

These decisions are invisible to ordinary users and even to the people designing the logical structure. The internal level exists so that complex structures can be used for efficient operations while a simpler, convenient interface is presented at the external level. This is the heart of abstraction: hiding low-level complexity from the people who do not need to deal with it.

Mappings between the levels

The three levels do not float independently. The DBMS connects them through mappings that translate requests from one level to the next. When a user runs a query against their external view, the system maps it down through the conceptual schema and finally to the internal schema, which fetches the actual data from disk. The result then travels back up, reshaped to match the user’s view.

The conceptual level sits in the middle and provides both the mapping and the desired independence between the external and internal levels. These mappings are what make the whole separation practical rather than merely theoretical. They are also the mechanism that delivers the architecture’s biggest payoff: data independence.

Importance of data independence

Data independence is the ability to change the schema at one level of the database without being forced to change the schema at the next higher level. It is the main reason the three-level architecture was created, and it is described as the one idea from the model that has been widely adopted across real database systems. Data independence comes in two forms.

Physical data independence

Physical data independence is the ability to change the internal level without affecting the conceptual level above it. Changes such as creating a new index, moving data to a different location, or adding a new storage file should not impact the higher-level schemas.

Suppose the college database is moved from an old server to a faster solid-state drive, or a new index is added to speed up searches. These are purely physical changes at the internal level. Thanks to physical data independence, the logical structure stays exactly the same, and no application programs need to be rewritten. This form of independence is generally the easier of the two to achieve, because the change is absorbed by the mapping between the conceptual and internal levels.

Logical data independence

Logical data independence is the ability to change the conceptual level without affecting the external views or the application programs that depend on them. It protects the view schema and applications from changes in the logical structure of the data.

Imagine the college decides to add a new attribute, say a student’s email address, to the Student entity, or splits one large table into two. These are changes at the conceptual level. With logical data independence, existing user views and the programs built on them continue to work without modification, because they simply ignore the parts of the structure they were not using. This form is harder to achieve, since changes to the logical structure tend to ripple more directly into the views that sit on top of it.

Why this flexibility matters

Data independence is what allows databases to evolve as an organisation’s needs change. A growing institution can upgrade its hardware, reorganise its storage, or expand its data structures without rebuilding everything from scratch. This makes maintenance easier and gives databases long-term usability, because structural changes do not break the applications people rely on every day. Without this separation, even a minor storage upgrade could force programmers to rewrite every application connected to the database.

Bringing the levels together

The three levels work as a team. The external level gives each user a tailored, secure window into the data. The conceptual level holds the complete logical design that the whole organisation shares. The internal level handles the demanding work of efficient physical storage. The mappings between them, and the data independence they provide, mean that each layer can change without throwing the others into chaos.

This is why a fifty-year-old design idea still underpins the databases running banks, railways, universities, and the apps on your phone. By separating concerns so cleanly, the ANSI/SPARC model turned databases from rigid, fragile systems into flexible tools that can grow and adapt over decades.

What do you think? If you were designing a database for your own college, which everyday changes would you most want to make without disturbing the people using the system? And do you think the strict separation between these three levels is always worth the extra complexity it adds, or are there cases where a simpler design might serve better?

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

References
  1. https://en.wikipedia.org/wiki/ANSI-SPARC_Architecture
  2. https://mncbmonline.co.in/attendence/classnotes/files/1695366777.pdf
  3. https://www.geeksforgeeks.org/dbms/the-three-level-ansi-sparc-architecture/
  4. https://tutorialink.com/dbms/three-level-ansi-sparc-database-architecture.dbms
  5. https://www.slideshare.net/slideshow/cs3270-database-system-lecture-2/73638173
  6. https://www.geeksforgeeks.org/dbms/physical-and-logical-data-independence/
  7. https://www.guru99.com/dbms-data-independence.html
  8. https://www.geeksforgeeks.org/dbms/difference-between-physical-and-logical-data-independence/

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

ICT Fundamentals

1 Basics of Computer Technology

  1. Overview of Computer System
  2. Computer Peripherals and Hardware
  3. Computer Peripherals
  4. Computer Hardware
  5. Operating System
  6. Ubuntu Operating System
  7. Ubuntu File System
  8. Common Commands and Utilities

2 Basic of Communication Technology

  1. Analog and Digital Communication
  2. Data Communication Modes
  3. Communication Hardware
  4. Communication Protocols/Standard

3 Basic of Network Technology

  1. Network Concept and Classification
  2. Local Area Network (LAN) Overview
  3. Wide Area Network
  4. Wireless Technology

4 Technology Convergence

  1. What is Convergence?
  2. Goal and Objectives of Convergence
  3. Genesis of Convergence
  4. Convergence Focus
  5. Convergence Architecture
  6. Technology Convergence
  7. Bluetooth Technology
  8. 3G and WiMAX Technologies
  9. Protocol Convergence
  10. Access Convergence
  11. Service Convergence
  12. Convergent Applications

5 Office Tools- Word Processing, Presentation and Spreadsheets

  1. Getting Started with LibreOffice Suite
  2. Word Processing with Writer
  3. Presentations with LibreOffice Impress
  4. Spreadsheets with LibreOffice Calc

6 Database Management systems

  1. File Oriented Approach
  2. Database Approach
  3. Database and DBMS
  4. Levels of Abstraction in a DBMS
  5. Database Environment
  6. Various DBMS Architectures
  7. Types of DBMS Architectures
  8. Database Security
  9. Popular DBMS Packages
  10. Database Project Environment
  11. Database Administrator

7 Multimedia

  1. Multimedia
  2. Characteristics of Multimedia Systems
  3. Types of Media
  4. Print vs Multimedia
  5. Major Areas of Multimedia Use
  6. Advances in Technology
  7. Multimedia Design
  8. Software in Multimedia Systems
  9. Information Collection in Multimedia Systems
  10. Storyboard for Multimedia Systems
  11. Processing in Multimedia Systems
  12. Storing and Retrieving in Multimedia Systems
  13. Issues Related to Multimedia Systems
  14. Data Integrity in Multimedia Systems
  15. Career Path in Multimedia

8 Network Topology

  1. Physical and Logical Topologies
  2. Fully Connected Topology
  3. Star Topology
  4. Hubs and Switches
  5. Bus Topology
  6. Ring Topology
  7. Mesh Topology
  8. Tree Topology
  9. Hybrid Topology
  10. Media Access Control Protocols
  11. Address Resolution
  12. Routers
  13. Routing Algorithms

9 Communication Protocols and Network Addressing

  1. What are Protocols?
  2. Computing Protocols
  3. Communication Protocols: General Concepts
  4. Common Communication Protocols
  5. Basic Communication Protocols: IP, UDP, TCP
  6. Client-Server Architecture
  7. Application Level Communication Protocols: FTP, Telnet
  8. Switching Level Convergence Protocol: ATM
  9. Multi Protocol Label Switching: MPLS
  10. Telephone and Mobile Numbering
  11. Number Portability
  12. IP Addressing: IPv4, IPv6
  13. Web Communication Protocols: HTTP, WAP, LTP

10 Protocol Architecture

  1. Protocol Architecture and Protocol Stack
  2. Layered Architecture
  3. Principles of Layering
  4. ISO-OSI Reference Model
  5. Internet Protocol Architecture: TCP/IP Architecture
  6. Bluetooth Protocol Stack
  7. ISDN Reference Model
  8. ATM Protocol Stack
  9. SONET Hierarchy
  10. Mobile Network Protocol Architecture

11 Network Applications and Management

  1. Service and Application Types
  2. Electronic Text Messaging
  3. Multimedia Messaging
  4. Electronic Mail
  5. Interactive Television (ITV)
  6. Interactive Music (IM)
  7. Application Delivery
  8. Performance Issues
  9. Why Network Management?
  10. Simple Network Management Protocol (SNMP)

12 Network Security

  1. Why Information Security?
  2. Types of Attacks
  3. AAA Security
  4. Firewalls and Proxy Servers
  5. Web Security
  6. Malicious Software
  7. Viruses
  8. Spyware, Spam, Phishing and Cookies
  9. Encryption
  10. Digital Signature
  11. E-mail Security

13 E-Mail and E-Messaging

  1. Defining Email
  2. Need of Email
  3. Email Address
  4. Types of Email Services
  5. Types of Email Account
  6. Structure and Features of Email
  7. Functioning of Email Systems
  8. Messaging
  9. Issues with Messaging
  10. Widgets and Utilities

14 World Wide Web

  1. World Wide Web
  2. Conceptual Framework of WWW
  3. Communication Architecture
  4. Protocols
  5. Markup Languages
  6. Definition and Need (Markup Languages)
  7. Types of Markup Languages
  8. Web 2.0
  9. Features of Web 2.0 Applications
  10. Web 2.0 Applications
  11. Impact of Web 2.0 Tools Over WWW and Semantic Web

15 Search Engines

  1. Search Engines
  2. Types of Search Tools
  3. Features of Search Tools
  4. Architecture of Search Tools
  5. Challenges

16 Interactive and Distributive Services

  1. Web Directory
  2. Bulletin Board
  3. Mailing List and Discussion Lists
  4. Resource Sharing
  5. Online Document Repositories
  6. Web Portals
  7. E-mail
  8. Online Storage and Searching
  9. E-publishing
  10. Webcasting
  11. Interactive Learning
  12. Interactive Business and Trading
  13. Security and Privacy Issues