pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org, Bruce Momjian <bruce@momjian.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Alexander Staubo <alex@purefiction.net>
Cc: Michael Stone <mstone+postgres@mathom.us>
Subject: Re: New to PostgreSQL, performance considerations
Date: Wed, 13 Dec 2006 19:02:39 -0800
Message-ID: <1166065359.6494.16.camel@localhost.localdomain> (raw)
In-Reply-To: <200612131836.25713.josh@agliodbs.com>
References: <200612140104.kBE14Dx09695@momjian.us>
	<200612131836.25713.josh@agliodbs.com>

On Wed, 2006-12-13 at 18:36 -0800, Josh Berkus wrote:
> Bruce,
> 
> > 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.
> 
> Mostly, though, pgbench just gives the I/O system a workout.  It's not a 
> really good general workload.

It also will not utilize all cpus on a many cpu machine. We recently
found that the only way to *really* test with pgbench was to actually
run 4+ copies of pgbench at the same time.

J


> 
-- 

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate






view thread (124+ messages)  latest in thread

Message-ID: <1166065359.6494.16.camel@localhost.localdomain>
Permalink:  ../1166065359.6494.16.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1166065359.6494.16.camel@localhost.localdomain

 · 

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: jd@commandprompt.com, josh@agliodbs.com, bruce@momjian.us, 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: <1166065359.6494.16.camel@localhost.localdomain>

* 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