Re: 9.0 beta 3 pgbench -- documentation issue

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-docs(at)postgreSQL(dot)org
Subject: Re: 9.0 beta 3 pgbench -- documentation issue
Date: 2010-07-19 16:59:56
Message-ID: 4C44848C.4060801@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Daniele Varrazzo 2010-07-21 02:16:38 Re: Please provide stable target anchors
Previous Message Thom Brown 2010-07-19 15:08:11 Re: Railroad diagrams, a-la sqlite