Make pgbench vacuum before building indexes.

Robert Haas <rhaas@postgresql.org>

Commit: 46b2b7e0ff06498d51ebf08871c73e5b5e0aa050
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-07-23T18:42:35Z
Releases: 9.3.0
Make pgbench vacuum before building indexes.

This is apparently faster than doing things the other way around when
the scale factor is large.

Along the way, adjust -n to suppress vacuuming during initialization
as well as during test runs.

Jeff Janes, with some small changes by me.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +13 −8
doc/src/sgml/pgbench.sgml modified +9 −0