added suggestion to allow use of synchronous=OFF with Sqlite

This commit is contained in:
Ilya_Shlyakhter 2021-06-16 20:06:39 +00:00 committed by admin
parent afb8c5f078
commit bfa530e962

View file

@ -0,0 +1 @@
Sqlite docs [say](https://www.sqlite.org/pragma.html#pragma_synchronous) "commits can be orders of magnitude faster with synchronous OFF". The downside is a chance of db corruption if power fails at a bad moment, but since git-annex's dbs can be re-generated from git data, maybe that's a tradeoff some users would be ok with? One usually knows when power has failed.