tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

Open

#1,630 opened on 2024年8月3日

GitHub で見る
 (2 comments) (1 reaction) (0 assignees)C (16,744 stars) (490 forks)batch import
enhancementhelp wantedquestion

説明

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.

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

Switch to locking_mode EXCLUSIVE in libSQL server? · tursodatabase/libsql#1630 | Good First Issue