Re: Rookie - Performance Tests

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brickley Jeff-RA9607 <Jeff(dot)Brickley(at)motorola(dot)com>
Cc: "Postgres (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Rookie - Performance Tests
Date: 2002-08-08 17:22:28
Message-ID: 14727.1028827348@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Brickley Jeff-RA9607 <Jeff(dot)Brickley(at)motorola(dot)com> writes:
> I noticed there is a directory with some scripts for performance
> tests. I did not however see any readme or any documentation that
> describes how to use the scripts and what exactly they test for. Can
> anyone point me in the right direction? I have run a few of my own
> perf tests but would like to use the ones shipped with the release.

I wouldn't put much credence in src/test/performance/, if that's what
you're speaking of. AFAICT from the CVS logs, Vadim put those in as
a quick and dirty test set nearly five years ago, and no one has touched
them (or, likely, even bothered to run them) since then.

src/test/bench/ has a better pedigree, being the old Wisconsin DB
benchmark, but it's still pretty long in the tooth and unmaintained.
(It'd be nice if someone would at least fix it to run against a normal
postmaster, instead of using a standalone backend; that's a completely
unrealistic, uninteresting test scenario...)

What people actually seem to use these days is contrib/pgbench/ or
the OSDB benchmark (see http://osdb.sourceforge.net/). pgbench has
a well-earned reputation for producing irreproducible results :-(.
OSDB is relatively new on the scene but may be the up-and-coming standard.

In the end, your own application is the only performance test that
counts ...

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2002-08-08 17:36:09 Re: Update linux from 7.1 to 7.3 and couldn't get Psql7.0.3 back to work
Previous Message Tim Ellis 2002-08-08 17:17:29 [OT] Re: Automated... CRON