tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

Open

#1 630 ouverte le 3 août 2024

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)C (490 forks)batch import
enhancementhelp wantedquestion

Métriques du dépôt

Stars
 (16 744 stars)
Métriques de merge PR
 (Merge moyen 23h 19m) (1 PR mergée en 30 j)

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.

Guide contributeur