Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit 1: DBMS Architecture - The Three-Schema Model

Lesson 3 of 28 in the free Database Management Systems notes on Siksha Sarovar, written by Rohit Jangra.

3.1 The Three-Schema Architecture

Also known as the ANSI/SPARC Architecture, its primary goal is to separate the user applications from the physical database. This provides a high degree of data independence.

The Three Levels:

  1. Internal Level (Physical Level):
  • The lowest level of abstraction.
  • Describes how the data is actually stored on the disk (blocks, indexes, hashing).
  • Uses a physical data model.
  1. Conceptual Level (Logical Level):
  • The middle level of abstraction.
  • Describes what data is stored in the database and what relationships exist among those data.
  • It describes the entire database structure for the whole community of users.
  • Focuses on entities, data types, relationships, and constraints.
  1. External Level (View Level):
  • The highest level of abstraction.
  • Describes only part of the entire database for a specific group of users.
  • Each external schema describes the database "view" for one or more user groups.

3.2 Mapping Between Levels

The DBMS is responsible for "mapping" between these levels.

  • External/Conceptual Mapping: Defines the correspondence between a particular external view and the conceptual schema.
  • Conceptual/Internal Mapping: Defines how the conceptual records and fields are represented at the internal level.

3.3 Client/Server Architecture

Modern DBMS systems are typically organized in a client/server manner to distribute the workload.

Evolution of Architectures:

ArchitectureDescriptionPros/Cons
CentralizedAll processing (UI + DBMS) happens on one mainframe.Easy to manage; Single point of failure.
Two-Tier (Client/Server)UI/App runs on Client; DBMS runs on Server.Faster UI; Hard to scale to 1000s of users.
Three-TierClient (Browser) <-> App Server <-> DB Server.Highly scalable; Standard for Web Apps.
  • Client Tasks: User interface, data entry, report formatting.
  • Server Tasks: Query processing, optimization, transaction management, storage.