Skip to content

Volume 01 · Table of contents

Contents.

Thirty-two chapters in eight tracks. Each chapter states one idea, shows the table or schedule that makes it concrete, and ends with a drill you can actually answer.

Completed0%
00 / 32

7h of guided reading

Start hereCH 01What is a DBMS?12 min · BeginnerBegin
01

Foundations

3 chapters
02

Modeling

4 chapters
04ERD FundamentalsEntities, attributes, keys, and the first steps of turning a real-world domain into an entity-relationship diagram.Entity and entity setAttributes: simple, composite, multivalued, derivedKeys in an ERD05ERD Relationships & ConstraintsRelationships, cardinality, participation, weak entities, and how to read a relationship diamond correctly.Relationship and relationship setDegree: unary, binary, ternaryCardinality: 1:1, 1:N, M:N06Hierarchical Database ModelRecords arranged as a tree: one parent, many children. Learn the model, its access path, and its structural limits.Tree-structured recordsParent-child relationshipsNavigational access07Network Database ModelA graph of records connected by sets. It solves the hierarchical many-to-many problem but makes navigation complex.Records and setsOwner and member recordsMany-to-many relationships
03

Relational Model

5 chapters
08Relational Model: Domains, Tuples & CardinalityRelations as tables: domains, attributes, tuples, degree, cardinality, and why the model is declarative.Relation, tuple, attribute, domainDegree and cardinalitySchema versus instance09Codd's 12 RulesThe rules that define a truly relational DBMS, what they require, and where real systems compromise.Information ruleGuaranteed access and systematic null handlingCatalog and view rules10Relational Algebra: Selection & ProjectionSelection filters rows; projection chooses columns. Learn the operators, notation, and the order that matters.Selection σ (sigma)Projection π (pi)Predicates11Relational Algebra: Set OperationsUnion, intersection, and difference. Learn the union-compatible requirement and the result of each operation.Union compatibilityUnionIntersection12Relational Algebra: Cartesian Product & JoinsCartesian product, theta join, equi join, and natural join — how rows are matched and why joins are the heart of SQL.Cartesian productTheta joinEqui join
04

Keys & Constraints

3 chapters
05

Normalization

5 chapters
16Functional DependenciesX → Y means X determines Y. Learn Armstrong's axioms, closure, and how dependencies drive normalization.Functional dependencyArmstrong's axiomsAttribute closure17Anomalies: Insert, Update & DeleteBad schemas cause redundant data and inconsistent updates. See the three anomaly types in a concrete table.Insertion anomalyUpdate anomalyDeletion anomaly18Normalization: 1NFFirst normal form requires atomic values and no repeating groups. Learn the rule and decompose a multivalued table.Atomic attributesRepeating groupsMultivalued attributes19Normalization: 2NFSecond normal form removes partial dependencies on part of a composite key. Learn the test and the decomposition.Composite primary keyPartial dependency2NF test20Normalization: 3NFThird normal form removes transitive dependencies. Learn the rule, the decomposition, and the trade-offs.Transitive dependency3NF testDecomposition into 3NF
06

Transactions & Recovery

4 chapters
07

Concurrency

3 chapters
08

Distributed & Analytics

5 chapters
28Distributed DatabasesData spread across sites, transparency, and the CAP trade-off. Learn why distribution is both powerful and hard.Distributed databaseLocation and fragmentation transparencyReplication transparency29Fragmentation & ReplicationHorizontal and vertical fragmentation, replication, and the trade-offs between availability and consistency.Horizontal fragmentationVertical fragmentationReplication30Data WarehousingSeparate analytical storage from transactional systems. Learn ETL, star schemas, OLAP, and data marts.Operational versus analytical processingETL pipelineStar and snowflake schemas31Data MiningFind patterns in large data: classification, clustering, association rules, and the tools used to do it.ClassificationClusteringAssociation rules32HDB vs NDB vs RDB & Data Mining vs QueryCompare the three classic database models and distinguish a data-mining query from an ordinary database query.Hierarchical versus network versus relationalNavigation versus declarative accessData mining versus normal query

DB//COSMOS

A field manual for database systems: model the domain, normalize the facts, query the relations, and protect the result.

Edition 2026 · 32 chaptersTopic catalogInterview prep