Database ACID Properties
A deep-dive guide to ACID properties — Atomicity, Consistency, Isolation, Durability — covering isolation levels, MVCC, 2PL, WAL, write skew, distributed ACID, and practical interview questions. Includes the real priority order (I → C → D → A), the AI PR story, and the link to the full isolation levels deep-dive.
PostgreSQL Checkpoint Tuning & WAL Buffers: Eliminating I/O Spikes
Comprehensive guide to PostgreSQL Checkpoint mechanics, Write-Ahead Logging (WAL), checkpoint_completion_target I/O smoothing, pg_stat_bgwriter monitoring, Full-Page Writes (FPW), and Crash Recovery RTO optimization.
PostgreSQL WAL & Replication: The 380MB No-Op Update, Orphan Slots & 2 AM Disk-Full Playbook
PostgreSQL Write-Ahead Logging and replication mechanics: why a no-op UPDATE generates 380MB of WAL, replication lag causes, orphan replication slots exhausting disk, silent archive_command failures, and the 2 AM 95% disk emergency playbook.
Scaling Writes
Deep-dive into high write throughput techniques — sharding, partitioning, WAL internals, LSM trees, async pipelines, batching, backpressure, idempotency, and distributed transactions — with production Java/Spring code and failure mode analysis.
Storage Engines & Data Structures
How databases store and retrieve data — B+ trees, LSM trees, heap files, InnoDB vs MyISAM, WAL, and buffer pools.