Type a branch, a subject or a topic — “round robin”, “paging”, “civil”.

Database Management Systems

A database is a machine for answering questions about data without losing any of it. These topics take a single query and a single transaction and follow each one through the engine, step by step.

Start from the beginning →

13 topics you can watch now, 11 still to come.

Foundations

What a database gives you that a folder of files does not, and the layering that makes it possible.

  • Database users and the DBA
  • Instances vs schemas

Data models

How a question about the world becomes a question about tables.

  • Relational model
  • SQL as algebra

Schema design

Splitting tables until no fact is stored twice — and knowing when to stop.

  • Lossless decomposition

Storage and indexing

Where the rows actually live, and how the engine finds one fast.

  • Pages and heap files
  • Clustered vs secondary indexes

Query processing

One query, several possible plans, and the cost of each.

  • Sort-merge join
  • Hash join
  • Cost-based plan selection

Transactions

Many users at once, and the guarantee that none of them sees a half-finished change.

  • MVCC snapshots
Dashed entries are mapped but not animated yet. The running order is not fixed until a topic is built. Browse the other subjects.