added suggestion to allow use of synchronous=OFF with Sqlite
authorIlya_Shlyakhter <Ilya_Shlyakhter@web>
Wed, 16 Jun 2021 20:06:39 +0000 (20:06 +0000)
committeradmin <admin@branchable.com>
Wed, 16 Jun 2021 20:06:39 +0000 (20:06 +0000)
doc/todo/add_option_to_use_sqlite__39__s_synchronous__61__OFF.mdwn [new file with mode: 0644]

diff --git a/doc/todo/add_option_to_use_sqlite__39__s_synchronous__61__OFF.mdwn b/doc/todo/add_option_to_use_sqlite__39__s_synchronous__61__OFF.mdwn
new file mode 100644 (file)
index 0000000..90c4ac7
--- /dev/null
@@ -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.