Re: New to PostgreSQL, performance considerations - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: New to PostgreSQL, performance considerations
Date
Msg-id 200612140104.kBE14Dx09695@momjian.us
Whole thread Raw
In response to Re: New to PostgreSQL, performance considerations  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: New to PostgreSQL, performance considerations  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
Re: New to PostgreSQL, performance considerations  (Josh Berkus <josh@agliodbs.com>)
List pgsql-performance
Tom Lane wrote:
> 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).

pgbench is designed to be a general benchmark, meanining it exercises
all parts of the system.  I am thinking just reexecuting a single SELECT
over and over again would be a better test of the CPU optimizations.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Insertion to temp table deteriorating over time
Next
From: "Rajesh Kumar Mallah"
Date:
Subject: Re: New to PostgreSQL, performance considerations