Topic domain

Databases

Storage engines, query processing, and transactional guarantees.

Articles
80
Clusters
8
Foundational
24
Intermediate
32
Advanced
24

Relations, normalization, and integrity.

  1. Relations as Sets: Why the Relational Model Excludes Duplicate Rows
  2. Attribute Closure and the Mechanical Derivation of Candidate Keys
  3. Referential Integrity and the Semantics of Foreign Key Actions
  4. Boyce-Codd Normal Form and the Cost of Losing a Dependency
  5. Multivalued Dependencies and the Redundancy BCNF Cannot See
  6. Nulls, Three-Valued Logic, and the Constraints They Break
All 10 in this cluster →

Parsing, planning, and execution operators.

  1. Parsing SQL: Clause Structure and Expression Precedence
  2. Name Resolution and Binding a Query to the Catalog
  3. Logical Plans and Rewrite Rules That Preserve Results
  4. Physical Operator Selection and Access Path Mechanics
  5. External Merge Sort: Runs, Fan-in, and the Sort-Merge Join
  6. Hash Joins and Hash Aggregation: Build, Probe, and Spill
All 10 in this cluster →

Indexes

10

B-trees, LSM indexes, and access paths.

  1. Fanout, Height, and Why B-Trees Stay Shallow
  2. Separator Keys and Search Routing in Internal Nodes
  3. Clustered and Secondary Access Paths and the Cost of a Row Fetch
  4. Node Splits, Merges, and What the Fill Factor Buys
  5. The LSM Write Path from Memtable to Sorted Run
  6. Leveled Compaction and the Shape of the LSM Tree
All 10 in this cluster →

Isolation levels and version visibility.

  1. Conflict Serializability and the Precedence Graph Test
  2. The Read Phenomena Ladder and What Each Isolation Level Still Permits
  3. First-Committer-Wins Validation in Snapshot Isolation
  4. Heap Tuple Headers, Transaction Identifiers, and Visibility Rules
  5. Undo Records and Reconstructing Older Row Versions
  6. When a Snapshot Is Taken and How Commit Order Is Assigned
All 10 in this cluster →

Buffer pools, pages, and write amplification.

  1. Slotted Pages: Fitting Variable-Length Records into Fixed-Size Blocks
  2. Buffer Pool Frames, Pin Counts, and Replacement Under Pin Pressure
  3. Write-Ahead Log Record Ordering and the Force-at-Commit Boundary
  4. Page Splits and the Write Cost of a Single B-Tree Insert
  5. LSM Compaction: Size-Tiered and Leveled Strategies Compared
  6. Doublewrite Buffers and the Torn Page Problem
All 10 in this cluster →

Topology, failover, and consistency.

  1. The Replication Log as the Ordering Unit in Single-Leader Replication
  2. Statement Versus Row-Based Logs: Determinism and the Cost of Replay
  3. Where the Commit Returns: Synchronous and Asynchronous Replication Boundaries
  4. Leader Failover: Detection Windows, Fencing, and Split-Brain Avoidance
  5. Quorum Intersection: Why R + W > N Is Necessary but Not Sufficient
  6. Hash and Range Partitioning: Choosing What the Shard Key Preserves
All 10 in this cluster →

Cost models, cardinality, and plan choice.

  1. How a Query Cost Model Reduces I/O and CPU to One Number
  2. Selectivity Estimation from Histograms and Most-Common-Value Lists
  3. The Crossover Between an Index Scan and a Sequential Scan
  4. Join Order Search and the Explosion of the Plan Space
  5. Join Cardinality and Where the Containment Assumption Fails
  6. Plan Caching, Generic Plans, and the Parameter Sensitivity Problem
All 10 in this cluster →

Migrations, vacuuming, and capacity.

  1. How a Migration Runner Records and Orders Applied Versions
  2. Which ALTER TABLE Statements Rewrite the Table and Which Only Touch the Catalogue
  3. Dead Tuples, Bloat, and What VACUUM Actually Reclaims
  4. How Metadata Locks Block a DDL Statement Behind Ordinary Queries
  5. Expand and Contract: Changing a Column While Both Versions Run
  6. Batching a Backfill Without Holding Locks or Losing Restarts
All 10 in this cluster →

All Databases articles