diff --git a/Running-without-WAL-enabled.md b/Running-without-WAL-enabled.md index 7a5a18a..4e56583 100644 --- a/Running-without-WAL-enabled.md +++ b/Running-without-WAL-enabled.md @@ -1,3 +1,5 @@ +> WAL is an SQLite only setting and has no effect with Postgres or MySQL. + By default during the startup `bitwarden_rs` will try to enable [WAL](https://sqlite.org/wal.html) for the DB. Adding this improves performance and in the past helped preventing failed requests under some circumstances. ## Reasons to turn WAL off @@ -7,6 +9,7 @@ Generally speaking unless you're absolutely sure, that you need to turn WAL off, * Some filesystems don't support WAL - this is especially true for network filesystems. If you're using such filesystem, the service will fail to start with `Failed to turn on WAL` error message. * The database requires sqlite version `3.7.0` or newer, so if you for any reason (for example backups) require to access the DB directly with some other tool that cannot be updated, you might need to disable WAL. * You are [using the MySQL backend](https://github.com/dani-garcia/bitwarden_rs/wiki/Using-the-MySQL-Backend) +* You are [using the PostgreSQL backend](https://github.com/dani-garcia/bitwarden_rs/wiki/Using-the-PostgreSQL-Backend) * One of the [disadvantages described here](https://sqlite.org/wal.html#advantages) affects you ## How to turn WAL off