mirror of
https://github.com/dani-garcia/bitwarden_rs
synced 2024-11-25 11:20:04 +01:00
Add small note and link to PostgreSQL usage topic
parent
c21c7375f8
commit
7c38851845
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user