Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 7D79C2E0298 for ; Thu, 13 Mar 2008 02:31:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 17190-02 for ; Thu, 13 Mar 2008 02:31:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by postgresql.org (Postfix) with ESMTP id 405522E0387 for ; Thu, 13 Mar 2008 02:31:52 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id d37so5927315pye.29 for ; Wed, 12 Mar 2008 22:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Ui0R5GKSjWYngwAnhdxcWLl7kqSiS3qC3Y41jSaxTsY=; b=UCe16Fj9+Stjy39705SSqV1dCa9DsiRRzk1bpRe/Y7Ysv8N+EWXAd9y/YhYA+jjWQCDxxYWQtySPcu20/zfYWy1T2v0uTVRv3rkJfN1WfuPK99yLBfzXZ9LfkHElQkiZ3cqxJW6ca1LbYohD4F0El1pZpw8gOD4PsSt/JXnfm1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AMuAHw3u7zL4u8vV8Eq+2NDMPbs5fV0GFIL/aFQHc/1FZRltQ2c28rwykeroaIzzpReHaGpxqf9RqxSmECbwHPHnM7eBh4bNW4191RQV22EXNF4i3CtfsoKweyr9yJ6cyy8IU/8yQOYnRKBgtRMmP2uleykInmdaAjxIun3HskU= Received: by 10.115.111.1 with SMTP id o1mr8536769wam.87.1205386311102; Wed, 12 Mar 2008 22:31:51 -0700 (PDT) Received: by 10.114.133.6 with HTTP; Wed, 12 Mar 2008 22:31:51 -0700 (PDT) Message-ID: Date: Wed, 12 Mar 2008 22:31:51 -0700 From: "Scott Marlowe" To: "Craig James" Subject: Re: Benchmark: Dell/Perc 6, 8 disk RAID 10 Cc: pgsql-performance@postgresql.org In-Reply-To: <47D8B3B6.3010606@emolecules.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3E9C3A51-C28E-4B75-9739-E344DAC72880@fastcrypt.com> <47D00DB2.7040007@emolecules.com> <18451.1204824562@sss.pgh.pa.us> <47D0AFC1.5070305@emolecules.com> <47D8B3B6.3010606@emolecules.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/267 X-Sequence-Number: 29221 On Wed, Mar 12, 2008 at 9:55 PM, Craig James wrote: > I just received a new server and thought benchmarks would be interesting. I think this looks pretty good, but maybe there are some suggestions about the configuration file. This is a web app, a mix of read/write, where writes tend to be "insert into ... (select ...)" where the resulting insert is on the order of 100 to 10K rows of two integers. An external process also uses a LOT of CPU power along with each query. Have you been inserting each insert individually, or as part of a larger transaction. Wrapping a few thousand up in a begin;end; pair can really help. You can reasonably wrap 100k or more inserts into a single transaction. if any one insert fails the whole insert sequence fails.