Disable vacuuming the DB after garbage collection

Especially in WAL mode on a highly loaded machine, this is not a good
idea because it results in a WAL file of approximately the same size
ad the database, which apparently cannot be deleted while anybody is
accessing it.
This commit is contained in:
Eelco Dolstra 2014-11-19 18:02:39 +01:00
parent a3e5c99d66
commit 8299aaf079

View file

@ -724,7 +724,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
}
/* While we're at it, vacuum the database. */
if (options.action == GCOptions::gcDeleteDead) vacuumDB();
//if (options.action == GCOptions::gcDeleteDead) vacuumDB();
}