Database Management Systems MOC

A book-shaped table of contents for DBMS: relational foundations through SQL mastery, storage internals, transactions, distributed databases, NoSQL, and MAANG interview prep — cross-linking existing system-design/patterns notes instead of duplicating them.

· §202607150122-5 ·

Database Management Systems

If this were a book, this page is the table of contents. Each Part below is a chapter; each chapter links out to the concepts, designs, and platform notes that already exist elsewhere in this wiki instead of duplicating them. Unwritten chapters are listed as Planned rows, not empty files.

Parts

00 — Database Foundations

Why DBMSs replaced file-based storage, the three-schema architecture that gives them data independence, and the major data models (hierarchical, network, relational, object-oriented, NoSQL).

01 — Relational Model

The formal vocabulary of the relational model — relations, keys, constraints — and the two equivalent query formalisms (relational algebra and relational calculus) that SQL is built on top of.

02 — SQL Mastery

Practical SQL from basic DDL/DML through joins, aggregation, subqueries, CTEs, window functions, and the advanced object types (views, triggers, sequences) that show up in both production code and SQL coding interviews.

03 — Database Design

Modeling a domain as an ER diagram, mapping it into relational tables, and using functional dependencies to drive normalization — plus when denormalization is the right tradeoff instead.

04 — Storage Internals

How a DBMS physically lays out data on disk — pages, heap files, clustered storage — and the two index families (B-tree and hash) built on top of that layout.

05 — Query Processing

How a query moves from parsed text to an execution plan, the optimizer decisions (cost-based vs rule-based, pushdown) behind that plan, and the join algorithms the executor picks from.

06 — Transactions

The transaction lifecycle and ACID guarantees, the concurrency anomalies that arise without control, and the three families of concurrency control (locking, timestamp ordering, optimistic) that isolation levels are built from.

07 — Recovery

Write-ahead logging as the foundation of crash recovery, and the checkpointing/ARIES machinery a DBMS uses to recover to a consistent state after a crash.

08 — Distributed Databases

Fragmentation and replication across nodes, the two-phase commit protocol for distributed transactions, and the consensus protocols (Paxos, Raft) that keep replicas agreeing. See also Consensus Algorithms and Consensus Patterns for the general distributed-systems treatment this Part specializes to databases.

09 — NoSQL Databases

The four major NoSQL categories — key-value, document, column-family, graph — and why each trades away parts of the relational model for a different scalability profile. See also Storage Engines for how Cassandra/Bigtable-style engines are built internally.

10 — Scalability

Replication topologies, partitioning strategies, and the patterns (saga, outbox, eventual consistency) that replace distributed ACID transactions at scale, framed through CAP and PACELC. See also Partitioning and Sharding, CAP Theorem and PACELC, Saga, and Outbox.

11 — Database Performance

Reading EXPLAIN plans and diagnosing slow queries, the tuning knobs (connection pools, buffer pool, caching, vacuum/analyze), and the bottlenecks — lock contention, hot partitions, index bloat, deadlocks — that show up in production.

12 — Database Security

Authentication/authorization via roles and RBAC, encryption at rest/in transit/TDE, and SQL injection prevention through prepared statements and safe ORM usage.

13 — DBMS in System Design

How database choice, data modeling, and scaling decisions actually show up inside a system design interview, worked through classic case studies. See also system-design/README.md for the broader system design book this Part specializes to the data layer, and Distributed Cache for the caching half of the scaling toolkit.

14 — MAANG Interview Preparation

The recurring theory comparison questions, a SQL coding practice set, internals deep dives across the major engines, and full mock-interview problem sets.

15 — Appendix

Quick-reference cheat sheets, decision matrices, and a glossary — the material you skim the night before an interview rather than read start to finish.

Metadata

AuthorAmit Singh
Scopedbms

Local graph

Full graph →

Related notes