SQLite 實戰(四):查詢好慢?
用正確的索引,讓 `ORDER BY ... LIMIT` 真的只跑前 100 名。
sqliteindexperformanceleaderboardquery-plan
SQLite 實作(一):資料庫又鎖死啦!
用 WAL 與 busy_timeout,把多 worker 場景下的鎖衝突降到可接受的程度。
sqlitewalbusy-timeoutconcurrencyjob-queue
用正確的索引,讓 `ORDER BY ... LIMIT` 真的只跑前 100 名。
用 WAL 與 busy_timeout,把多 worker 場景下的鎖衝突降到可接受的程度。