Set sqlite pragmas.

This commit is contained in:
Achim D. Brucker 2017-08-22 23:26:11 +01:00
parent 3bba0913c0
commit fddd2374c4
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ def main(argv):
0] == 0:
print("Merging schema from {}".format(firstdb))
merge_schema(con, firstdb)
con.execute("PRAGMA default_temp_store=2;")
con.execute("PRAGMA cache_size=20000;")
con.execute("PRAGMA temp_store=2;")
currently_attached = []
for i, dbpath in enumerate(sqlitepaths):