tursodatabase/libsql
Ver no GitHubSwitch to locking_mode EXCLUSIVE in libSQL server?
Open
#1.630 aberto em 3 de ago. de 2024
enhancementhelp wantedquestion
Métricas do repositório
- Stars
- (16.744 stars)
- Métricas de merge de PR
- (Mesclagem média 23h 19m) (1 fundiu PR em 30d)
Description
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.