Re: Question about DB VACUUM - Mailing list pgsql-admin

From Tom Lane
Subject Re: Question about DB VACUUM
Date
Msg-id 20438.1065499687@sss.pgh.pa.us
Whole thread Raw
In response to Re: Question about DB VACUUM  ("Chris White (cjwhite)" <cjwhite@cisco.com>)
Responses Re: Question about DB VACUUM  ("Chris White (cjwhite)" <cjwhite@cisco.com>)
List pgsql-admin
"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

pgsql-admin by date:

Previous
From: "Chris White (cjwhite)"
Date:
Subject: Re: Question about DB VACUUM
Next
From: "Chris White (cjwhite)"
Date:
Subject: Re: Question about DB VACUUM