tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

Open

#1630 aperta il 3 ago 2024

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)C (490 fork)batch import
enhancementhelp wantedquestion

Metriche repository

Star
 (16.744 star)
Metriche merge PR
 (Merge medio 23h 19m) (1 PR mergiata in 30 g)

Descrizione

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.

Guida contributor