]> granicus.if.org Git - postgresql/commit
Make pgbench vacuum before building indexes.
authorRobert Haas <rhaas@postgresql.org>
Mon, 23 Jul 2012 18:38:34 +0000 (14:38 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 23 Jul 2012 18:42:35 +0000 (14:42 -0400)
commit46b2b7e0ff06498d51ebf08871c73e5b5e0aa050
tree8d8d38ccc33c4fb6a3c26b6d963a3cdec41f17f7
parentb71258af5613e627bb2b3b1e1874abe5c0226dc4
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.
contrib/pgbench/pgbench.c
doc/src/sgml/pgbench.sgml