pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-docs@postgreSQL.org
Subject: Re: 9.0 beta 3 pgbench -- documentation issue
Date: Mon, 19 Jul 2010 12:59:56 -0400
Message-ID: <4C44848C.4060801@2ndquadrant.com> (raw)
In-Reply-To: <4C43114A.4010202@agliodbs.com>
References: <4C43114A.4010202@agliodbs.com>

Josh Berkus wrote:
> However, in the documentation the variable :scale is never set,
> resulting in it defaulting to 1.  The example script needs to start with:
>
> \set scale 10
>   

Look at table F-15 "pgbench benchmarking options", specifically the 
section for "-s scale_factor".  That describes how the scale is set for 
the internal tests, and that you need to set it manually using "-s 
<scale>" for custom scripts run using "-f <script>".  My guess is that 
covers the situation you ran into here.

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us




view thread (2+ messages)

Message-ID: <4C44848C.4060801@2ndquadrant.com>
Permalink:  ../4C44848C.4060801@2ndquadrant.com/
Also on:    postgresql.org/message-id/4C44848C.4060801@2ndquadrant.com

 · 

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-docs@postgresql.org
  Cc: greg@2ndquadrant.com, josh@agliodbs.com
  Subject: Re: 9.0 beta 3 pgbench -- documentation issue
  In-Reply-To: <4C44848C.4060801@2ndquadrant.com>

* 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