"Interleaved-Tables"
- Spanner Schema Migration Without Downtime + Interleaved Tables
Spanner DDL 是 long-running operation、用 TrueTime 給每次 schema change 分配 version timestamp、所有 read / write 對應自己 transaction timestamp 看到對應 schema。Interleaved table 是 storage-level parent-child 物理交錯、不是 logical FK。本文走 schema change lifecycle、interleaved layout 機制、backfill capacity 影響、production 踩雷(backfill 時間沒估、interleave 事後重建、interleave 與 FK 混淆、ADD COLUMN NOT NULL 沒帶 DEFAULT、舊 client 的 schema cache)、跟 PostgreSQL online schema change 對照