Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 250489F9F46 for ; Wed, 13 Dec 2006 22:36:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 18521-02 for ; Wed, 13 Dec 2006 22:36:04 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id 2B9309F946C for ; Wed, 13 Dec 2006 22:36:10 -0400 (AST) X-EthosMedia-Virus-Scanned: no infections found Received: from [63.195.55.98] (account josh@agliodbs.com HELO spooky.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 10891557; Wed, 13 Dec 2006 18:39:52 -0800 From: Josh Berkus Organization: PostgreSQL @ Sun To: pgsql-performance@postgresql.org Subject: Re: New to PostgreSQL, performance considerations Date: Wed, 13 Dec 2006 18:36:25 -0800 User-Agent: KMail/1.8.2 Cc: Bruce Momjian , Tom Lane , Alvaro Herrera , Alexander Staubo , Michael Stone References: <200612140104.kBE14Dx09695@momjian.us> In-Reply-To: <200612140104.kBE14Dx09695@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612131836.25713.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/355 X-Sequence-Number: 22411 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. -- Josh Berkus PostgreSQL @ Sun San Francisco