快轉到主要內容

資料庫

Sharding, Hot Shards, And Cross-Shard Pain
·12 分鐘
資料庫 Database Database-Scaling Sharding Hot-Shard Multi-Tenant
Shard key 不是選一個欄位而已,而是承擔 workload、skew、routing 和 transaction trade-off
Replication Lag And Replica Routing
·11 分鐘
資料庫 Database Database-Scaling Replication Read-Replica Consistency
把 read replica 從讀流量擴充,講到 read-after-write correctness 和 routing policy
Transactions, Isolation, And MVCC
·12 分鐘
資料庫 Database Transactions Isolation Mvcc Locking Oracle
把 ACID、isolation anomalies、MVCC、locking 和 retry 拆成可防守的 backend 答案
Composite Index And Query Triage
·9 分鐘
資料庫 Database Composite-Index Query-Plan Oracle Sargability Query-Optimization
用 predicate、order、projection、plan shape 和 write cost 判斷 composite index 是否真的對
B+Tree And Index Internals
·11 分鐘
資料庫 Database Index Btree Query-Optimization Storage-Engine Query-Plan
從 page read、access path、selectivity、row fetch 和 write tax 重新整理 index 心智模型