pgsql: Make pgbench vacuum before building indexes.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make pgbench vacuum before building indexes.
Date: 2012-07-23 18:44:45
Message-ID: E1StNcb-0000tL-QV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/46b2b7e0ff06498d51ebf08871c73e5b5e0aa050

Modified Files
--------------
contrib/pgbench/pgbench.c | 21 +++++++++++++--------
doc/src/sgml/pgbench.sgml | 9 +++++++++
2 files changed, 22 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2012-07-23 19:33:12 pgsql: Update information schema to SQL:2011
Previous Message Tom Lane 2012-07-22 04:01:59 pgsql: Fix name collision between concurrent regression tests.