Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E97F164FCFC for ; Tue, 26 Aug 2008 11:30:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 37898-06 for ; Tue, 26 Aug 2008 11:30:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 204A864FCC1 for ; Tue, 26 Aug 2008 11:30:13 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-95-19-36.bk17-dsl.surnet.cl [190.95.19.36]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m7QEX5ZA025533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Aug 2008 07:33:08 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A0D4747C9B; Tue, 26 Aug 2008 10:29:59 -0400 (CLT) Date: Tue, 26 Aug 2008 10:29:59 -0400 From: Alvaro Herrera To: Tena Sakai Cc: Marcelo Martins , jeff@frostconsultingllc.com, pgsql-admin@postgresql.org Subject: Re: restoring from dump Message-ID: <20080826142959.GC4920@alvh.no-ip.org> References: <48AFA015.2000909@frostconsultingllc.com> <22746678-86BF-4F63-9F3D-6B822B9FFC47@zeroaccess.org> <20080826023406.GF15097@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Tue, 26 Aug 2008 07:33:08 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/169 X-Sequence-Number: 30014 Tena Sakai wrote: > Hi Alvaro, > > I just looked in pg_clog directory and there is > only one file: > -rw------- 1 postgres postgres 24576 Aug 25 20:18 0000 > I saw the same file about 10:30 am and I believe > it was roughly the same size. This is a brand new > installation of 8.3.3. Maybe initdb was executed? That would cause the files to disappear. Of course, so would the data; it would have to be restored from a backup. Note that these files use only 2 bits per transaction, so in 24756 bytes you have enough room to cover 99024 transactions. Furthermore, they always grow in 8192-byte increments. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.