feat: 更新SQLite连接配置,启用共享缓存和WAL模式,设置忙等待和内存映射参数
This commit is contained in:
1 parent
c15e773e2b
commit
9603dd9188
2 files changed
+10
-19
No files matched your search
@@ -1,9 +0,0 @@
|
||||
-- ----------------------------
|
||||
-- Configuration
|
||||
-- ----------------------------
|
||||
|
||||
-- 启用完整的自动空间回收
|
||||
PRAGMA auto_vacuum = FULL;
|
||||
-- 日志模式设置为 WAL 并发写入
|
||||
PRAGMA journal_mode = WAL;
|
||||
PRAGMA synchronous = NORMAL;
|
||||
Reference in new issue
Block a user