pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Benjamin Krajmalnik <kraj@illumen.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org, "Matthew T. O'Connor" <matthew@zeut.net>
Subject: Re: pg_clog questions
Date: Thu, 25 May 2006 18:39:44 -0400
Message-ID: <20060525223944.GO13700@surnet.cl> (raw)
In-Reply-To: <8511B4970E0D124898E973DF496F9B432516EA@stash.stackdump.local>
References: <8511B4970E0D124898E973DF496F9B432516EA@stash.stackdump.local>

Benjamin Krajmalnik wrote:
> I just ran both VACUUM ANALYZE and VACUUM on all of the databases (the
> project database and the database created for the default user).
> All of the commit logs are still there.

Did you vacuum the template1 (and possibly postgres) databases as well?

> Do they get cleared only by VACUUM FULL?

No, VACUUM suffices.

> On another subject, is there a query I can run to find out who the owner
> of a filenode is?

Sure -- pg_class.relowner from pg_class where relfilenode = ' ... '

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (12+ messages)  latest in thread

Message-ID: <20060525223944.GO13700@surnet.cl>
Permalink:  ../20060525223944.GO13700@surnet.cl/
Also on:    postgresql.org/message-id/20060525223944.GO13700@surnet.cl

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, kraj@illumen.com, tgl@sss.pgh.pa.us, matthew@zeut.net
  Subject: Re: pg_clog questions
  In-Reply-To: <20060525223944.GO13700@surnet.cl>
  References: <8511B4970E0D124898E973DF496F9B432516EA@stash.stackdump.local> <20060525223944.GO13700@surnet.cl>

* 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