tursodatabase/libsql
Vedi su GitHubSwitch to locking_mode EXCLUSIVE in libSQL server?
Open
#1630 aperta il 3 ago 2024
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.