DBMS: Database Management Systems

Database Management Systems: week-wise syllabus, notes, short notes, and available revision material.

Ctrl K
8 resources in this course · 12 syllabus weeks

Database Management Systems

Diploma

Complete week-wise syllabus

DBMS · 12 weeks

OPPE focus

Weeks 2–3 and 7

Practise SQL queries and Python–PostgreSQL connectivity. These weeks are marked for OPPE in the supplied outline.

Week 1: Course overview

Topics covered

  • Course overview
    • What a DBMS is
    • Databases versus file systems
    • Data models
    • Three-schema architecture

Expected skills: Explain the purpose of a DBMS and compare data models and database architectures.

Week 2: Relational model & basic SQLCore OPPE

Topics covered

  • Relational model & basic SQL
    • Relations and relational data
    • Keys
    • DDL: CREATE and constraints
    • SELECT, INSERT and WHERE
    • ORDER BY

Expected skills: Create constrained tables and write basic SQL queries to retrieve, insert and order data.

Week 3: Intermediate & advanced SQLCore OPPE

Topics covered

  • Intermediate & advanced SQL
    • Inner, outer and self joins
    • GROUP BY and HAVING
    • Aggregate functions
    • Subqueries
    • Set operations
    • Views

Expected skills: Combine tables and write grouped, nested and set-based SQL queries.

Week 4: Query languages & database design

Topics covered

  • Query languages & database design
    • Relational algebra
    • Entity–relationship model
    • ER-to-relational mapping
    • Cardinality

Expected skills: Express queries using relational algebra and convert ER designs into relational tables.

Week 5: Functional dependencies & normal forms

Topics covered

  • Functional dependencies & normal forms
    • Functional dependencies
    • Attribute closure
    • Candidate keys
    • Decomposition
    • First and second normal forms: 1NF and 2NF

Expected skills: Use dependencies and closure to identify keys and analyse normalization.

Week 6: Functional dependencies & normal forms (continued)

Topics covered

  • Functional dependencies & normal forms (continued)
    • Functional dependencies and keys
    • Third normal form: 3NF
    • Boyce–Codd normal form: BCNF
    • Decomposition
    • Lossless joins

Expected skills: Evaluate 3NF and BCNF and reason about lossless decomposition.

Week 7: Application developmentOPPE

Topics covered

  • Application development
    • Python and PostgreSQL with psycopg2
    • Database connections
    • Parameterized queries
    • Transactions

Expected skills: Connect Python to PostgreSQL and execute parameterized queries within transactions.

Week 8: Storage management

Topics covered

  • Storage management
    • File organization
    • Records and blocks
    • Buffer management

Expected skills: Explain how database records are organized, stored and buffered.

Week 9: Indexing & hashing

Topics covered

  • Indexing & hashing
    • Ordered indices
    • B-trees and B+-trees
    • Static hashing
    • Dynamic hashing

Expected skills: Compare indexing and hashing approaches for finding stored records.

Week 10: Transactions

Topics covered

  • Transactions
    • ACID properties
    • Schedules
    • Serializability
    • Concurrency control
    • Locking
    • Deadlocks

Expected skills: Analyse transaction schedules and explain how locking controls concurrent operations.

Week 11: Backup & recovery

Topics covered

  • Backup & recovery
    • Types of failures
    • Log-based recovery
    • Checkpoints

Expected skills: Explain recovery from failures using logs and checkpoints.

Week 12: Query optimization

Topics covered

  • Query optimization
    • Query processing
    • Evaluation plans
    • Cost estimation

Expected skills: Compare query evaluation plans using their estimated costs.

Quick revision map

DBMS topic distribution

Week 1: Database foundations

1 week

DBMS, data models, three-schema architecture

Weeks 2–4: SQL and database design

3 weeks

Relational model, SQL, relational algebra, ER modelling

Weeks 5–6: Dependencies and normalization

2 weeks

Closure, keys, 1NF, 2NF, 3NF, BCNF, lossless joins

Week 7: Database application development

1 week

Python, PostgreSQL, psycopg2, parameterized queries

Weeks 8–12: Storage, transactions and optimization

5 weeks

Files, indexing, hashing, concurrency, recovery, query plans

Weeks 5–6 share the functional-dependency and normalization block in the supplied outline; use your term’s lecture schedule for the exact split.