Make pgbench vacuum before building indexes.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| contrib/pgbench/pgbench.c | modified | +13 −8 |
| doc/src/sgml/pgbench.sgml | modified | +9 −0 |