pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tena Sakai <tsakai@gallo.ucsf.edu>
Cc: Marcelo Martins <pglists@zeroaccess.org>
Cc: jeff@frostconsultingllc.com
Cc: pgsql-admin@postgresql.org
Subject: Re: restoring from dump
Date: Tue, 26 Aug 2008 10:29:59 -0400
Message-ID: <20080826142959.GC4920@alvh.no-ip.org> (raw)
In-Reply-To: <FE44E0D7EAD2ED4BB2165071DB8E328C0378F428@egcrc-ex01.egcrc.org>
References: <48AFA015.2000909@frostconsultingllc.com>
	<FE44E0D7EAD2ED4BB2165071DB8E328C0378F416@egcrc-ex01.egcrc.org>
	<Pine.LNX.4.64.0808232228540.5906@discord.home.frostconsultingllc.com>
	<FE44E0D7EAD2ED4BB2165071DB8E328C0378F417@egcrc-ex01.egcrc.org>
	<22746678-86BF-4F63-9F3D-6B822B9FFC47@zeroaccess.org>
	<FE44E0D7EAD2ED4BB2165071DB8E328C0378F41A@egcrc-ex01.egcrc.org>
	<F4F56732-874A-4A10-A445-E43CBD49F971@zeroaccess.org>
	<FE44E0D7EAD2ED4BB2165071DB8E328C0378F425@egcrc-ex01.egcrc.org>
	<20080826023406.GF15097@alvh.no-ip.org>
	<FE44E0D7EAD2ED4BB2165071DB8E328C0378F428@egcrc-ex01.egcrc.org>

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.



view thread (21+ messages)  latest in thread

Message-ID: <20080826142959.GC4920@alvh.no-ip.org>
Permalink:  ../20080826142959.GC4920@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080826142959.GC4920@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, tsakai@gallo.ucsf.edu, pglists@zeroaccess.org, jeff@frostconsultingllc.com
  Subject: Re: restoring from dump
  In-Reply-To: <20080826142959.GC4920@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox