



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Database Management Systems (DBMS) Comprehensive Subject Summary & Core Concepts Guide
Part 1: Introduction to Databases & Architecture
1. What is a Database & DBMS?
A database is an organized collection of structured
information, or data, typically stored electronically in a
computer system. A Database Management System
(DBMS) is the software that interacts with end-users,
applications, and the database itself to capture and
analyze data.
Purpose of DBMS:
It allows users to create, protect, read, update, and delete data in a database efficiently without worrying about how data is physically saved on the hard drive.
2. The Three-Schema Architecture
The primary goal of database architecture is to separate
the user applications from the physical database. This is
achieved through the Three-Schema Architecture
(ANSI/SPARC model):
A. External Level (View Schema)
The highest level of abstraction. It describes only the part of the database that is relevant to a specific user or department (e.g., student portal showing only grades).
B. Conceptual Level (Logical Schema)
The middle level. It describes what data is stored in the whole database and the relationships among that data (e.g., tables, data types, and security constraints).
C. Internal Level (Physical Schema) The lowest level of abstraction. It describes how the data is actually stored on physical disks, including file structures, record formats, and indexing.
Part 2: Relational Databases & Key Constraints
3. Relational Database Management Systems (RDBMS)
A. Primary Key
A column or a set of columns that uniquely identifies every row in a table. It cannot contain duplicate values or NULL (empty) entries.
B. Foreign Key
A column in one table that links to a Primary Key in another table. It acts as a connector to enforce referential integrity between tables.
C. Unique Key Ensures that all values in a column are completely distinct from each other. Unlike a Primary Key, a Unique Key is allowed to accept one NULL value.
Part 3: Database Normalization & Forms
5. Understanding Database Normalization
Normalization is a systematic process of organizing data
in a database to reduce data redundancy (duplication)
and eliminate undesirable characteristics like insertion,
update, and deletion anomalies. It divides larger tables
into smaller ones and links them using relationships.
- First Normal Form (1NF)
A table is in 1NF if it contains only atomic (indivisible) values. Each column must hold a single value, and there must be no repeating groups of data.
- Second Normal Form (2NF)
To be in 2NF, the table must first be in 1NF. Additionally, all non-prime attributes must be completely dependent on the primary key, eliminating partial dependency.
- Third Normal Form (3NF) A table is in 3NF if it is already in 2NF and has no transitive dependencies. This means non-key columns must not depend on other non-key columns.
Part 4: Transaction Management & ACID Properties
6. Transaction Management & ACID Properties
A database transaction is a logical unit of processing
that includes one or more database access operations.
To maintain data accuracy and integrity, every robust
RDBMS must fully comply with the four fundamental
ACID properties:
A thorough understanding of Database Management
Systems is essential for developing reliable software
solutions. By applying structured relational models,
implementing strict key constraints, organizing tables
through precise levels of normalization, and adhering
closely to ACID transactional guarantees, developers
and administrators can build highly scalable, fast, and
secure database infrastructures that ensure complete
data consistency across enterprise networks.
© End of DBMS Fundamentals Study Guide | Prepared for Academic Reference