tursodatabase/libsql

Switch to locking_mode EXCLUSIVE in libSQL server?

Open

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

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)C (490 fork)batch import
enhancementhelp wantedquestion

仓库指标

Star
 (16,744 star)
PR 合并指标
 (平均合并 23小时 19分钟) (30 天内合并 1 个 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.

贡献者指南