tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

开放

#1,630 创建于 2024年8月3日

 (2 条评论) (1 个反应) (0 位负责人)C (490 个派生)batch import
enhancementhelp wantedquestion

仓库指标

星标
 (16,744 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南