pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Wall <d.wall@computer.org>
To: pgsql-general@postgresql.org
To: pgsql-interfaces@postgresql.org
Subject: Re: Vacuum analyze in 7.1.1
Date: Wed, 13 Jun 2001 21:16:24 -0700
Message-ID: <01b401c0f488$c684dea0$5a2b7ad8@expertrade.com> (raw)

> I'll have to see if JDBC does an unlink anywhere.

Whoa!  Looks like JDBC (as makes sense if you think about the libraries)
doesn't unlink those large objects.  There is a call in the
postgresql-specific for doing the lo_unlink, but it requires an OID, and
when deleting a row, most of the time I only know the primary key, not the
OIDs inside.  So, I guess I'll have to run vacuumlo from contrib before I do
the regular vacuum.

Does anybody know if vacuumlo is truly safe to use?  I just ran it on my
test system and it removed a bunch of orphans, but I just hope they were
really orphans!

David

view thread (8+ messages)

Message-ID: <01b401c0f488$c684dea0$5a2b7ad8@expertrade.com>
Permalink:  ../01b401c0f488$c684dea0$5a2b7ad8@expertrade.com/
Also on:    postgresql.org/message-id/01b401c0f488$c684dea0$5a2b7ad8@expertrade.com

 · 

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-interfaces@postgresql.org
  Cc: d.wall@computer.org, pgsql-general@postgresql.org
  Subject: Re: Vacuum analyze in 7.1.1
  In-Reply-To: <01b401c0f488$c684dea0$5a2b7ad8@expertrade.com>

* 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