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 committed by Ludovic Courtès
parent 4eb62b5230
commit 554eaf5e8c
1 changed files with 1 additions and 1 deletions

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();
}