Adetayo Akinsanya unkletayo.dev
Engineering / Tags / #Database Internals
#Database Internals 7 Articles

Articles tagged with #Database Internals

A curated list of engineering series, deep dives, and notes related to #Database Internals.

Engineering Database Internals from First Principles • Part 20 2026-10-23

Building a Custom Transactional Storage Engine in Java: The Database Capstone

Build a complete, working transactional storage engine in Java with slotted memory pages, WAL crash recovery, LRU buffer pool management, and 2PL locking.

Read →
Engineering Database Internals from First Principles • Part 16 2026-10-09

InnoDB Undo Logs and Read Views: Constructing Point-In-Time Snapshots

Deep dive into MySQL InnoDB Undo Logs: Insert vs Update Undo Logs, Purge Thread mechanics, Read View generation, and why long-running transactions cause undo tablespace bloat.

Read →
Engineering Database Internals from First Principles • Part 15 2026-10-06

InnoDB Locking Deep Dive: Record Locks, Gap Locks, and Next-Key Locks

Master MySQL InnoDB locking mechanics: Record locks, Gap locks, Next-Key locks, and the supremum pseudo-record to prevent phantom reads.

Read →
Engineering Database Internals from First Principles • Part 13 2026-09-29

MySQL Architecture: Server Layer vs Pluggable Storage Engines (InnoDB vs MyISAM)

Understand MySQL's two-tier architecture: the SQL Server Layer vs the Pluggable Storage Engine layer, handler API contracts, and InnoDB vs MyISAM comparisons.

Read →
Engineering Database Internals from First Principles • Part 11 2026-09-22

Join Algorithms Under the Hood: Nested Loop, Hash Join & Sort-Merge Join Mechanics

Master relational join algorithms: Simple, Index, and Block Nested Loop Joins, Classic & Grace Hash Joins, and Sort-Merge Joins with big-O complexities.

Read →
Engineering Database Internals from First Principles • Part 7 2026-09-08

Database Concurrency Anomalies: Dirty Reads, Non-Repeatable Reads, Phantoms & Lost Updates

Explore database concurrency anomalies including dirty reads, non-repeatable reads, phantom reads, and lost updates, with interleaved transaction timelines.

Read →
Engineering Kubernetes & Distributed Orchestration from First Principles • Part 3 2026-08-25

etcd Internals: Raft Consensus, MVCC Key-Value Storage, and Watch Streams

Master etcd internals: Raft consensus quorum math, MVCC bbolt B+ tree storage, revision counters, compaction, and gRPC watch streams.

Read →