Z2004 · BS Core · Even Semester 2026 Archive

Database Management Systems

Theory and engineering of database systems from ER modeling, relational algebra, and SQL through normalization, indexing, ACID transactions, NoSQL, vector databases, and RAG pipelines.

Academic Term

Even Semester, March - July 2026

Credits & Scope

10 Credits (Core · 3-1-0-0-6-10)

Instructor

Innocent Nyalala, PhD · Room 105 (F1), School of Engineering and Science · innocent@iitmz.ac.in

Direct Student Downloads

Lectures, Slides, Labs & Notebooks

GitHub Source Folder ↗

Open slide PDFs directly in your browser, read LaTeX lecture notes and worksheets (PDF), preview PowerPoint decks online, or download laboratory notebooks without login walls.

  1. M1 Week 1-2

    Foundations & Entity-Relationship Modeling

    DBMS architecture, ER diagrams, weak entity sets, and extended ER concepts.

  2. M2 Week 3

    Relational Model & ER Mapping

    Relations, schemas, primary/foreign keys, integrity constraints, and ER-to-relational translation.

  3. M3 Week 4-5

    Relational Algebra & Relational Calculus

    Selection, projection, joins, set operations, division, TRC, and DRC.

  4. M4 Week 6-7

    SQL Foundations (DDL & DML)

    Schema creation, constraints, SELECT filtering, sorting, INSERT, UPDATE, and DELETE.

  5. M5 Week 8-9

    Intermediate SQL: Aggregation, Joins & Subqueries

    GROUP BY, HAVING, inner/outer joins, correlated subqueries, and nested expressions.

  6. M6 Week 10

    Advanced SQL: CTEs & Window Functions

    Recursive common table expressions, ranking/analytic windows, triggers, and stored procedures.

  7. M7 Week 11-12

    Functional Dependencies & Normalization

    Armstrong's axioms, lossless join decompositions, 1NF through BCNF, and 4NF.

  8. M8 Week 13

    Storage, Indexing & Revision Notes

    B+ trees, hash indexing, heap files, buffer management, and quiz/ICA revision notes.

  9. M9 Week 14

    Query Processing & Transactions

    Query optimization pipeline, ACID guarantees, two-phase locking (2PL), and ARIES recovery.

  10. M10 Week 15-17

    Modern & AI Data Systems (NoSQL, Vectors & RAG)

    Document/key-value stores, vector indexing, embeddings, RAG architectures, and cloud databases.

Logistics & Tooling

Weekly Schedule

Session Frequency Notes
Lectures 3 sessions per week 50 minutes each
Tutorials 1 session per week SQL problem sets and schema design

Prerequisites & Stack

Introductory Python programming and discrete structures.

Environment: PostgreSQL 16 · SQL Server 2022 / Azure SQL Edge · SSMS · DBeaver · Python + pgvector

Syllabus Objectives

Learning Outcomes

  1. 01 Design ER schemas and translate them into normalized relational tables.
  2. 02 Write relational algebra and tuple/domain relational calculus queries.
  3. 03 Compose complex SQL queries with joins, CTEs, window functions, triggers, and stored procedures.
  4. 04 Apply functional dependencies and normalize schemas through BCNF and 4NF.
  5. 05 Explain disk storage layout, B-tree/hash indexing, ACID transactions, 2PL, and recovery.
  6. 06 Contrast relational, document, key-value, and vector databases and build a RAG pipeline.
Evaluation Scheme

Assessment & Grading

In-Class Assignments (ICA) 10%

Fortnightly SQL exercises and schema sketches.

Quiz 1 15%

Covers ER modeling, relational model, and relational algebra (M1-M3).

Quiz 2 20%

Covers basic through advanced SQL (M4-M6).

Semester Project 20%

RAG pipeline or recommendation backend with full relational schema.

End-Semester Examination 35%

Full syllabus examination emphasizing M7-M10.

References

Textbooks & Study Tools

  • Database System Concepts (7th ed.)

    Abraham Silberschatz, Henry Korth, and S. Sudarshan (McGraw-Hill, 2019)

    Required
  • Fundamentals of Database Systems (7th ed.)

    Ramez Elmasri and Shamkant Navathe (Pearson, 2015)

    Reference
  • Learning SQL (3rd ed.)

    Alan Beaulieu (O'Reilly, 2020)

    Reference
Client Tooling DBeaver Community Edition ↗

Cross-platform database GUI supporting PostgreSQL, SQL Server, and SQLite.

Primary Engine PostgreSQL 16 Documentation ↗

Official SQL, indexing, and transaction reference.

Standards & Licensing

Course Policies & Reuse

Attendance

Attendance is expected at all lectures and labs. Lab exercises are completed and submitted before each session ends.

Late Work

Deadlines are fixed in advance. Late submissions are not accepted unless pre-approved under official institute procedures.

Academic Integrity

Discussing concepts with peers is encouraged; copying or sharing code is prohibited. Every submitted line must be your own work that you can explain.

All lecture notes, slides, and laboratory materials for Z2004 are licensed under CC BY-NC-SA 4.0 . ShareAlike required; commercial use prohibited without permission.