X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BC5F55286C for ; Thu, 19 May 2005 19:27:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07688-10 for ; Thu, 19 May 2005 22:27:24 +0000 (GMT) Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by svr1.postgresql.org (Postfix) with ESMTP id 8D47E52856 for ; Thu, 19 May 2005 19:27:22 -0300 (ADT) Received: from trofast.sesse.net ([129.241.93.32]) by cassarossa.samfundet.no with esmtp (Exim 4.34) id 1DYtUK-0008B0-Et for pgsql-performance@postgresql.org; Fri, 20 May 2005 00:27:32 +0200 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1DYtUJ-0005Jy-00 for ; Fri, 20 May 2005 00:27:31 +0200 Date: Fri, 20 May 2005 00:27:31 +0200 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: Optimizing for writes. Data integrity not critical Message-ID: <20050519222731.GB20142@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <428D1153.1020109@rueb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <428D1153.1020109@rueb.com> X-Operating-System: Linux 2.6.11.8 on a i686 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.015 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/329 X-Sequence-Number: 12493 On Thu, May 19, 2005 at 05:21:07PM -0500, Steve Bergman wrote: > I'm doing the writes individually. Is there a better way? Combining > them all into a transaction or something? Batching them all in one or a few transactions will speed it up a _lot_. Using COPY would help a bit more on top of that. /* Steinar */ -- Homepage: http://www.sesse.net/