pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Alexander Staubo <alex@purefiction.net>
Cc: Michael Stone <mstone+postgres@mathom.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: New to PostgreSQL, performance considerations
Date: Tue, 12 Dec 2006 12:13:59 -0500
Message-ID: <4775.1165943639@sss.pgh.pa.us> (raw)
In-Reply-To: <20061212161106.GF22782@alvh.no-ip.org>
References: <20061211173105.GH16692@mathom.us>
	<E1Gtplp-0004Ka-GM@elasmtp-junco.atl.sa.earthlink.net>
	<20061211184726.GI16692@mathom.us>
	<E1GtrB8-0005rw-Iu@elasmtp-kukur.atl.sa.earthlink.net>
	<457DA782.3060506@modgraph-usa.com>
	<8a0c7af10612111422x6bdcc0c2p7cbfeb5a7b0e0374@mail.gmail.com>
	<2FC0D8E7-F8ED-452F-BB13-FB665B516E7F@purefiction.net>
	<20061212123252.GR16692@mathom.us>
	<42B14BCF-B745-4F94-B5EA-97997744A4D5@purefiction.net>
	<3356.1165938462@sss.pgh.pa.us>
	<20061212161106.GF22782@alvh.no-ip.org>

Alvaro Herrera <alvherre@commandprompt.com> writes:
> While skimming over the pgbench source it has looked to me like it's
> necessary to pass the -s switch (scale factor) to both the
> initialization (-i) and the subsequent (non -i) runs.

No, it's not supposed to be, and I've never found it needed in practice.
The code seems able to pull the scale out of the database (I forget how
it figures it out exactly).

			regards, tom lane



view thread (124+ messages)  latest in thread

Message-ID: <4775.1165943639@sss.pgh.pa.us>
Permalink:  ../4775.1165943639@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4775.1165943639@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@commandprompt.com, alex@purefiction.net, mstone+postgres@mathom.us
  Subject: Re: New to PostgreSQL, performance considerations
  In-Reply-To: <4775.1165943639@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox