Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 20BC6475D0D for ; Thu, 8 Aug 2002 13:22:31 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 6A14D475D09 for ; Thu, 8 Aug 2002 13:22:30 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g78HMSVk014728; Thu, 8 Aug 2002 13:22:28 -0400 (EDT) To: Brickley Jeff-RA9607 Cc: "Postgres (E-mail)" Subject: Re: Rookie - Performance Tests In-reply-to: <7146D19B7FC9D5119F6400D0B7B993080318C933@az33exm22.corp.mot.com> References: <7146D19B7FC9D5119F6400D0B7B993080318C933@az33exm22.corp.mot.com> Comments: In-reply-to Brickley Jeff-RA9607 message dated "Thu, 08 Aug 2002 08:54:31 -0700" Date: Thu, 08 Aug 2002 13:22:28 -0400 Message-ID: <14727.1028827348@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/78 X-Sequence-Number: 5193 Brickley Jeff-RA9607 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