tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

Open

#1,630 建立於 2024年8月3日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)C (490 fork)batch import
enhancementhelp wantedquestion

倉庫指標

Star
 (16,744 star)
PR 合併指標
 (平均合併 23小時 19分鐘) (30 天內合併 1 個 PR)

描述

SQLite acquires a POSIX advisory lock by default for every read transaction. Let's consider switching to PRAGMA locking_mode=EXCLUSIVE to make SQLite acquire the POSIX advisory lock when a database file is opened, which improves read performance.

貢獻者指南