Storage Engines and Transaction Processing

  1. Slotted Pages and Stable Tuple Locations

    Store variable-sized records behind slots so compaction changes their byte offsets without changing every reference.

    Graduate
  2. Buffer Pools, Pins, and Dirty Pages

    Manage cached database pages with explicit in-use counts and distinguish choosing an eviction victim from making it recoverable.

    Graduate
  3. Write-Ahead Logging and Durability Order

    Protect database changes by flushing enough log before a data page or a successful commit can be considered durable.

    Graduate
  4. Log Sequence Numbers and Idempotent Redo

    Track the latest applicable log record on a page and use ordered positions to skip changes already reflected in durable data.

    Graduate
  5. Database Checkpoints and Recovery Start Positions

    Record enough active transaction and page state to narrow crash recovery without requiring all work to stop together.

    Graduate
  6. Redo, Undo, and Restartable Recovery

    Explain why a database may replay changes and then reverse unfinished operations, and record reversal progress for another restart.

    Graduate
  7. Log-Structured Merge Trees and Compaction

    Follow updates from an in-memory structure to sorted files and account for why merging versions can amplify writes.

    Graduate
  8. Sorted Table Block Indexes and Negative Lookups

    Use sparse separator keys to find a block in an immutable run and avoid reading data for many absent keys.

    Graduate
  9. Secondary Indexes and Versioned Table Updates

    Maintain an alternate key from the same logical update and ensure stale index information cannot cause visible duplicate or missing rows.

    Graduate
  10. Database Latches and Transaction Locks

    Separate short protection of an in-memory structure from the longer logical protection an isolation protocol can require.

    Graduate
  11. Transaction Anomalies and Isolation Contracts

    Translate an isolation claim into allowed histories and distinguish repeated-read changes from invalid combined updates.

    Graduate
  12. Conflict Serializability and Precedence Graphs

    Build ordering edges from conflicting accesses and use a graph cycle to certify that no conflict-equivalent serial order exists.

    Graduate
  13. Two-Phase Locking and Serial Order

    Separate a transaction’s growing and shrinking lock phases and use its last acquisition to explain conflict serializability.

    Graduate
  14. Optimistic Concurrency Control and Validation

    Allow speculative reads and private updates, then validate what changed before making the transaction’s writes visible.

    Graduate
  15. Snapshot Isolation and Write Skew

    Follow a transaction’s stable snapshot and explain how two disjoint writes can combine into an invalid result.

    Graduate
  16. Reclaiming Old Database Versions

    Keep the version each active snapshot can still need and account for the memory effects of long-running readers.

    Graduate
  17. The Transactional Outbox and Delivery Retries

    Record an outgoing event with the data change it represents and handle duplication between sending and marking the event delivered.

    Graduate
  18. Group Commit and Flush Batching

    Share an expensive log flush across several transactions while acknowledging each only after its required position is durable.

    Graduate
  19. Partition Pruning from Query Predicates

    Prove which partitions cannot contain matching rows and see why a transformed predicate can be harder for an optimizer to use.

    Graduate
  20. Shard Keys, Scatter–Gather, and Local Joins

    Connect a query’s predicates to placement and estimate how missing shard information creates fan-out.

    Graduate