Unit 1: Introduction to Database Systems
A Database Management System (DBMS) is software that enables users to define, create, maintain, and control access to the database. In Lucknow University examination syllabus, key focus areas include the 3-Schema Architecture, Data Independence, and Comparison of File Systems vs DBMS.
1.1 Three-Schema Architecture (ANSI/SPARC)
The goal is to separate user applications from the physical database:
- Internal (Physical) Level: Describes physical storage structure of the database using low-level data models.
- Conceptual (Logical) Level: Describes the structure of the whole database for a community of users (Entities, Data Types, Relationships).
- External (View) Level: Describes the part of the database that a particular user group is interested in.
1.2 Relational Data Model & Integrity Constraints
A relational database represents data as collections of tables (relations). Key constraints tested in University examinations:
- Domain Constraint: Every attribute value must be an atomic value from the domain.
- Key Constraint (Entity Integrity): No primary key value can be NULL.
- Referential Integrity: A tuple in one relation referencing another must refer to an existing valid tuple (Foreign Key).

