Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3FFAF9FB565 for ; Tue, 13 Mar 2007 09:56:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 73791-07 for ; Tue, 13 Mar 2007 09:56:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by postgresql.org (Postfix) with ESMTP id 9CA529FB2CD for ; Tue, 13 Mar 2007 09:56:24 -0300 (ADT) Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HR6YB-00063R-Gp for pgsql-performance@postgresql.org; Tue, 13 Mar 2007 05:56:23 -0700 Message-ID: <9453712.post@talk.nabble.com> Date: Tue, 13 Mar 2007 05:56:23 -0700 (PDT) From: femski To: pgsql-performance@postgresql.org Subject: Re: Postgres batch write very slow - what to do In-Reply-To: <45F685B7.5040001@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hypertree@yahoo.com References: <9452092.post@talk.nabble.com> <45F685B7.5040001@enterprisedb.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.018 tagged_above=0 required=5 tests=AWL, BAYES_00, FORGED_YAHOO_RCVD, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200703/217 X-Sequence-Number: 23622 I am runing Postgres 8.2 on OpenSuse 10.2 with latest jdbc driver. I moved the app to be collocated with the server. Oracle takes 60 sec. Postgres 275 sec. For 4.7 million rows. There are 4 CPUs on the server and one is runing close to 100% during inserts. Network history shows spikes of upto 60% of the bandwidth (Gnome System monitor graph). I have a gigabit card - but should not enter into picture since its on local host. thanks, -Sanjay -- View this message in context: http://www.nabble.com/Postgres-batch-write-very-slow---what-to-do-tf3395195.html#a9453712 Sent from the PostgreSQL - performance mailing list archive at Nabble.com.