Re: Question about DB VACUUM

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cjwhite(at)cisco(dot)com
Cc: "'Robert Treat'" <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Question about DB VACUUM
Date: 2003-10-02 22:45:41
Message-ID: 12586.1065134741@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Chris White (cjwhite)" <cjwhite(at)cisco(dot)com> writes:
> The index has grown by 4 pages and the table has grown by 10 pages. BTW,
> what is a page size? Why is this happening as this is the table that I
> am theoretically keeping the same size by adding/deleting the same
> objects from.

Kinda looks like you aren't doing anything to remove
no-longer-referenced large objects. An LO is not a BLOB; it has an
independent existence. You may care to look into
contrib/lo and/or contrib/vacuumlo. Or possibly you should be using
wide text or bytea fields, not large objects at all...

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2003-10-02 23:35:36 Re: Delete accident
Previous Message Chris White (cjwhite) 2003-10-02 22:31:00 Re: Question about DB VACUUM