SQLite WAL 写争用:busy_timeout 与 checkpoint 阈值实测
SQLite 的 WAL 只解决读写互斥,写与写仍要抢锁。8 并发写压测显示:busy_timeout=5000ms、wal_autocheckpoint=4000 页可把写失败率从 63.5% 压到 0.24%,p99 约 0.9…
创建记录 2026-10-30 · 沐小悠 · 约 29 分钟
292 次阅读 阅读 →