CST 204 Database Management Systems

Syllabus


Module 1: Introduction & Entity Relationship (ER) Model

Concept & Overview of Database Management Systems (DBMS) – Characteristics of Database system, Database Users, structured, semi-structured and unstructured data. Data Models and Schema – Three Schema architecture. Database Languages, Database architectures and classification.
ER model – Basic concepts, entity set & attributes, notations, Relationships and constraints,
cardinality, participation, notations, weak entities, relationships of degree 3.

Module 2: Relational Model
Structure of Relational Databases – Integrity Constraints, Synthesizing ER diagram to relational
schema
Introduction to Relational Algebra – select, project, cartesian product operations, join – Equi-join, natural join. query examples, introduction to Structured Query Language (SQL), Data Definition Language (DDL), Table definitions and operations – CREATE, DROP, ALTER, INSERT, DELETE, UPDATE.


Module 3: SQL DML (Data Manipulation Language), Physical Data Organization
SQL DML (Data Manipulation Language) – SQL queries on single and multiple tables, Nested queries (correlated and non-correlated), Aggregation and grouping, Views, assertions, Triggers, SQL data types.
Physical Data Organization – Review of terms: physical and logical records, blocking factor,
pinned and unpinned organization. Heap files, Indexing, Singe level indices, numerical examples, Multi-level-indices, numerical examples, B-Trees & B+-Trees (structure only, algorithms not required), Extendible Hashing, Indexing on multiple keys – grid files.

Module 4: Normalization
Different anomalies in designing a database, The idea of normalization, Functional dependency, Armstrong’s Axioms (proofs not required), Closures and their computation, Equivalence of Functional Dependencies (FD), Minimal Cover (proofs not required). First Normal Form (1NF), Second Normal Form (2NF), Third Normal Form (3NF), Boyce Codd Normal Form (BCNF), Lossless join and dependency preserving decomposition, Algorithms for checking Lossless Join (LJ) and Dependency Preserving (DP) properties.

Module 5: Transactions, Concurrency and Recovery, Recent Topics
Transaction Processing Concepts – overview of concurrency control, Transaction Model,
Significance of concurrency Control & Recovery, Transaction States, System Log, Desirable
Properties of transactions. Serial schedules, Concurrent and Serializable Schedules, Conflict equivalence and conflict
serializability, Recoverable and cascade-less schedules, Locking, Two-phase locking and its
variations. Log-based recovery, Deferred database modification, check-pointing.
Introduction to NoSQL Databases, Main characteristics of Key-value DB (examples from:
Redis), Document DB (examples from: MongoDB) Main characteristics of Column – Family DB (examples from: Cassandra) and Graph DB
(examples from : ArangoDB)

Visit my YouTube channel for more such videos https://www.youtube.com/c/sharikatr

Text Books

1. Elmasri R. and S. Navathe, Database Systems: Models, Languages, Design and Application Programming, Pearson Education, 2013.

2. Sliberschatz A., H. F. Korth and S. Sudarshan, Database System Concepts, 6/e, McGraw Hill, 2011.

PREVIOUS YEAR QUESTION PAPER

TUTORIALS