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 EBAF752868 for ; Thu, 19 May 2005 22:42:56 -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 65827-02 for ; Fri, 20 May 2005 01:42:50 +0000 (GMT) Received: from houston.familyhealth.com.au (houston.au.fhnetwork.com [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id 9B2BF5280A for ; Thu, 19 May 2005 22:42:46 -0300 (ADT) Received: from houston.familyhealth.com.au (localhost [127.0.0.1]) by houston.familyhealth.com.au (Postfix) with ESMTP id 9C9DD24FDD; Fri, 20 May 2005 09:42:58 +0800 (WST) Received: from [192.168.0.40] (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (Postfix) with ESMTP id 81B5D24FCE; Fri, 20 May 2005 09:42:58 +0800 (WST) Message-ID: <428D4146.6000203@familyhealth.com.au> Date: Fri, 20 May 2005 09:45:42 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Bergman Cc: pgsql-performance@postgresql.org Subject: Re: Optimizing for writes. Data integrity not critical References: <428D1153.1020109@rueb.com> In-Reply-To: <428D1153.1020109@rueb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.066 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200505/331 X-Sequence-Number: 12495 > I'm doing the writes individually. Is there a better way? Combining > them all into a transaction or something? Use COPY of course :) Or at worst bundle 1000 inserts at a time in a transation... And if you seriously do not care about your data at all, set fsync = off in you postgresql.conf for a mega speedup. Chris