Set sqlite pragmas.
This commit is contained in:
parent
3bba0913c0
commit
fddd2374c4
|
@ -79,6 +79,10 @@ def main(argv):
|
|||
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):
|
||||
dbname = "db{}".format(i)
|
||||
|
|
Loading…
Reference in New Issue