
Learn how query optimizers and execution engines process SQL, how storage engines and data structures manage data on disk, and how transaction processing handles concurrency and recovery. Build practical understanding of the internals behind modern database systems.

Implement cost-based query optimizers with cardinality estimation, join ordering (dynamic programming, greedy), and plan enumeration. Design vectorized and compiled query execution engines for columnar data.

Implement concurrency control mechanisms (2PL, OCC, MVCC) and recovery protocols (ARIES). Analyze serializability theory, phantom prevention, and design lock managers for high-throughput OLTP workloads.

Compare B+ tree, LSM-tree, and fractal tree indexing structures. Implement write-ahead logging, MVCC, buffer pool management, and analyze SSD-optimized storage engine designs.