tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

Open

#1.630 geöffnet am 3. Aug. 2024

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C (490 Forks)batch import
enhancementhelp wantedquestion

Repository-Metriken

Stars
 (16.744 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 23h 19m) (1 gemergte PR in 30 T)

Beschreibung

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.

Contributor Guide