X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3673AD1B341 for ; Mon, 24 May 2004 12:41:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 89167-03 for ; Mon, 24 May 2004 12:40:54 -0300 (ADT) Received: from builder.localdomain (unknown [61.94.126.220]) by svr1.postgresql.org (Postfix) with SMTP id A127CD1BA9E for ; Mon, 24 May 2004 12:40:48 -0300 (ADT) Received: (qmail 13525 invoked from network); 24 May 2004 15:40:17 -0000 Received: from localhost (HELO localhost.localdomain) (127.0.0.1) by builder.localdomain with SMTP; 24 May 2004 15:40:17 -0000 Received: from 192.168.0.103 by builder.localdomain (MWN SMTPD 0.0.8-pre/20040508) id 2af5bba6dfeb8f47e19b1a7f999fcd7c with SMTP; 24 May 2004 15:40:18 +0000 Message-ID: <40B2175A.4070909@zara.6.isreserved.com> Date: Mon, 24 May 2004 22:40:10 +0700 From: David Garamond User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Stark , pgsql-general@postgresql.org Subject: Re: how many record versions References: <40AFAD9F.6000104@zara.6.isreserved.com> <40B0D230.6030803@zara.6.isreserved.com> <87vfimq114.fsf@stark.xeocode.com> <40B1904A.3090307@zara.6.isreserved.com> <87pt8tq5ut.fsf@stark.xeocode.com> In-Reply-To: <87pt8tq5ut.fsf@stark.xeocode.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/735 X-Sequence-Number: 61169 Greg Stark wrote: > Another option is simply logging this data to a text file. Or multiple text Yes, this is what we've been doing recently. We write to a set of text files and there's a process to commit to MySQL every 2-3 minutes (and if the commit fails, we write to another text file to avoid the data being lost). It works but I keep thinking how ugly the whole thing is :-) > files one per server. Then you can load the text files with batch loads > offline. This avoids slowing down your servers handling the transactions in > the critical path. But it's yet more complex with more points for failure. -- dave