pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: cjwhite@cisco.com
Cc: 'Robert Treat' <xzilla@users.sourceforge.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Question about DB VACUUM
Date: Tue, 07 Oct 2003 00:08:07 -0400
Message-ID: <20438.1065499687@sss.pgh.pa.us> (raw)
In-Reply-To: <000301c38c88$68193830$0400a8c0@amer.cisco.com>
References: <000301c38c88$68193830$0400a8c0@amer.cisco.com>

"Chris White \(cjwhite\)" <cjwhite@cisco.com> writes:
> But as you could see from the prior query \lo_list showed no large
> objects, this was done just prior to the vacuum. 

> aesop=# \lo_list
>   Large objects
>  ID | Description
> ----+-------------
> (0 rows)

> aesop=# vacuum verbose pg_largeobject;
> NOTICE:  --Relation pg_largeobject--
> NOTICE:  Index pg_largeobject_loid_pn_index: Pages 2819; Tuples 460:
> Deleted 84.

This would seem to indicate that you have open transactions hanging
around somewhere in the background.  VACUUM can't delete tuples that
might still be visible under MVCC rules to some open transaction.

			regards, tom lane



view thread (15+ messages)  latest in thread

Message-ID: <20438.1065499687@sss.pgh.pa.us>
Permalink:  ../20438.1065499687@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20438.1065499687@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, cjwhite@cisco.com, xzilla@users.sourceforge.net
  Subject: Re: Question about DB VACUUM
  In-Reply-To: <20438.1065499687@sss.pgh.pa.us>
  References: <000301c38c88$68193830$0400a8c0@amer.cisco.com> <20438.1065499687@sss.pgh.pa.us>

* 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