tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

オープン

#1,630 opened on 2024/08/03

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)C (490 件のフォーク)batch import
enhancementhelp wantedquestion

Repository metrics

Stars
 (16,744 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド