Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 279E7650044 for ; Sat, 5 Jul 2008 11:49:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 71406-10 for ; Sat, 5 Jul 2008 11:48:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from westnet.com (westnet.com [216.187.52.2]) by postgresql.org (Postfix) with ESMTP id 00A7B64FD34 for ; Sat, 5 Jul 2008 11:48:57 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id m65EmtC9028116; Sat, 5 Jul 2008 10:48:55 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id m65Emt9q028113; Sat, 5 Jul 2008 10:48:55 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Sat, 5 Jul 2008 10:48:55 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: Russell Smith cc: List pgsql-patches Subject: Re: pgbench minor fixes In-Reply-To: <486F7FCF.7030606@pws.com.au> Message-ID: References: <1215263027.4051.299.camel@ebony.site> <486F7FCF.7030606@pws.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/84 X-Sequence-Number: 6778 On Sun, 6 Jul 2008, Russell Smith wrote: > Simon Riggs wrote: >> Minor patch on pgbench >> >> 1. -i option should run vacuum analyze only on pgbench tables, not *all* >> tables in database. >> > How does this work with custom scripts? That's the initialization step. It creates the 4 tables, populates then, then runs VACCUM ANALYZE. There is no notion of what script you'll end up executing yet. If you have a truly custom script that works against other data instead of the pgbench tables, you won't even be executing this initialization bit. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD