Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id ECE6F1336FA7 for ; Fri, 29 Apr 2011 01:58:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 17119-04 for ; Fri, 29 Apr 2011 04:58:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-1.01.com (smtp-1.01.com [38.102.63.180]) by mail.postgresql.org (Postfix) with ESMTP id AFCDB1337BED for ; Fri, 29 Apr 2011 01:58:34 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-1.01.com (Postfix) with ESMTP id 4F039364500; Thu, 28 Apr 2011 23:58:34 -0500 (CDT) Received: from smtp-1.01.com ([127.0.0.1]) by localhost (smtp-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kWPssA+APNVg; Thu, 28 Apr 2011 23:58:34 -0500 (CDT) Received: by smtp-1.01.com (Postfix, from userid 99) id 327CD364501; Thu, 28 Apr 2011 23:58:34 -0500 (CDT) Received: from mail-1.01.com (mail-1.01.com [38.102.63.171]) by smtp-1.01.com (Postfix) with ESMTP id 0A7A0364500; Thu, 28 Apr 2011 23:58:34 -0500 (CDT) Date: Thu, 28 Apr 2011 23:58:33 -0500 (CDT) From: Joshua Berkus To: Greg Smith Cc: pgsql-performance@postgresql.org, Tomas Vondra Message-ID: <30006282.226917.1304053113799.JavaMail.root@mail-1.01.com> In-Reply-To: <4DB890D8.5000604@2ndquadrant.com> Subject: Re: Performance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [70.36.197.225] X-Mailer: Zimbra 6.0.12_GA_2888 (ZimbraWebClient - SAF3 (Linux)/6.0.12_GA_2883) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/399 X-Sequence-Number: 43461 All, > The easiest place to start is by re-using the work already done by the > TPC for benchmarking commercial databases. There are ports of the TPC > workloads to PostgreSQL available in the DBT-2, DBT-3, and DBT-5 > tests; Also EAStress, which I think the project still has a license for. The drawback to these is that they're quite difficult and time-consuming to run, making them unsuitable for doing, say, incremental tuning tests which need to run 100 iterations. At least, now that we don't have access to the OSDL or Sun labs anymore. On the other hand, Greg has made the first steps in a benchmark constructor kit by making it possible for pgBench to run arbitrary workloads. Someone could build on Greg's foundation by: a) building a more complex database model with random data generators, and b) designing a wide series of queries designed to test specific performance problems, i.e, "large object reads", "complex nested subqueries", "mass bulk correllated updates" c) finally creating scripts which generate benchmarks by choosing a database size and a "mix" of the query menu This would give us kit which would be capable of testing performance regressions and improvements for PostgreSQL. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com San Francisco