Chapter 1
Introduction
Definition of data, database and database management systems. Discussion of application and significance of databases and DBMS. History of databases and evolution to recent trends.
Open chapter notesENCT 301
Simple chapter-wise notes with question previews and reusable study components.
Chapters
Each chapter page includes notes, SQL/code blocks, ER diagrams, and relational algebra rendering.
Chapter 1
Definition of data, database and database management systems. Discussion of application and significance of databases and DBMS. History of databases and evolution to recent trends.
Open chapter notesChapter 2
Description and significance of data models. Brief description and illustrative example of each type: Entity-relationship, relational, object model, hierarchical, network, and graph data models.
Open chapter notesChapter 3
Description and usage of relational algebra operators with examples. Selection (σ), projection (π), Cartesian product (×), various types of join (⋈), rename (ρ). Set operations: union (∪), intersection (∩), difference (−). Modification of relations with assignment operator. Example queries and practice problems.
Open chapter notesChapter 4
NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, and CHECK constraints with SQL syntax. Relational integrity and key constraints. Domain constraints.
Open chapter notesChapter 5
Description and significance of query processing and optimization. Stages of query processing: parsing, translation to relational algebra, optimization, evaluation. Block diagram of the query processing pipeline.
Open chapter notesChapter 6
Physical storage media: magnetic disk, SSD, optical, tape. Storage hierarchy. RAID levels (0–6): striping, mirroring, parity. Selecting an appropriate RAID level.
Open chapter notesChapter 7
Definition and significance of transactions with practical examples. States: Active, Partially Committed, Committed, Failed, Aborted. State-transition diagram.
Open chapter notesChapter 8
Transaction failure (logical error, system error). System crash (power failure, hardware fault). Disk failure. Stable storage concept and implementation.
Open chapter notesChapter 9
Object-based database concepts: encapsulation, inheritance, polymorphism, object identity. Object-relational data model. Complex data types: collections, nested relations. Persistence. Object-relational mapping (ORM).
Open chapter notes