Databases
Transactions, ORMs, migrations, and the modeling decisions behind SQL and NoSQL.
📖 Key terms & concepts — definitions for the jargon used across these posts.
-
Databases 101: SQL vs NoSQL, Indexes, and Why Transactions Matter
-
Database Storage Engine: How Postgres Turns a Row Into a Page, a Line Pointer, and a B-Tree Entry
-
Relational vs NoSQL: What a Shard Key Actually Does to Physical Placement
-
Normalization vs Denormalization: Why Address Embeds but Buyer Gets Its Own Table
-
Transactions & ACID: Why Postgres's synchronous_commit Can Make Commits Non-Durable
-
Isolation Levels: How Postgres's MVCC Snapshot Decides Row Visibility
-
ORMs & N+1 Queries: Why order.Buyer Silently Triggers a Database Query
-
Database Migrations: How a Dirty Flag Stops a Crashed Migration From Retrying
-
Connection Pooling: A Full Pool Waits on a FIFO Queue Before It Fails
-
Query Plans: What EXPLAIN's cost=0.00..1234.56 Number Actually Measures
-
Full-Text Search: Why 'The Quick FOX' Matches 'quick fox jumps'
-
Stored Procedures & Triggers: Why a Trigger Silently Disables an EF Core Optimization
-
Point-in-Time Recovery: How WAL Replay Lands Exactly on the Target Moment
-
Polyglot Persistence: What Decides Redis vs Postgres Per Service
-
Stream Processing: Why Event Time Needs Watermarks, Not Just Timestamps
-
Time-Series Databases: Why a Time-Ordered Table Needs Its Own Chunking, Not Just an Index
-
Advanced Partitioning & Sharding Strategies: Range vs Hash vs List, at the Engine Level
-
Databases: Why Is the Same Query 8ms in Dev and 4 Seconds in Production?
-
Databases: Why Do Two Transactions Deadlock Only Under Concurrent Load?
-
Databases: Why Does the App Time Out Acquiring a Connection While the Database Is Idle?
-
Databases Key Terms: ACID, Index, and Replication — the Data Vocabulary Behind Every Post