From: Nick Porter Date: Wed, 2 Jul 2025 09:50:34 +0000 (+0100) Subject: Add note on SQLite WAL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d52bf857050c014486f7e2cc8e9d7fde0fa03126;p=thirdparty%2Ffreeradius-server.git Add note on SQLite WAL --- diff --git a/raddb/mods-config/sql/main/sqlite/schema.sql b/raddb/mods-config/sql/main/sqlite/schema.sql index ed542a44d17..27306dc7748 100644 --- a/raddb/mods-config/sql/main/sqlite/schema.sql +++ b/raddb/mods-config/sql/main/sqlite/schema.sql @@ -7,6 +7,13 @@ -- -- ----------------------------------------------------------------------------- +-- +-- To aid performance in a multi-threaded system so that reads are not +-- blocked by writes, consider using the write-ahead log +-- https://www.sqlite.org/wal.html +-- +-- PRAGMA journal_mode=WAL; + -- -- Table structure for table 'radacct' --