pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
more blob questions 2+ messages / 2 participants [nested] [flat]
* more blob questions @ 2008-01-18 04:45 Kevin Kempter <kevin@kevinkempterllc.com> 2008-01-18 16:23 ` Re: more blob questions Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: Kevin Kempter @ 2008-01-18 04:45 UTC (permalink / raw) To: pgsql-admin Hi List; Suppose I have a table with say an integer key, a char column and a large object column. can I simply delete a row from the table (delete from bigtable where...), then run a vacuum (or vacuum full) ? If so, in this scenario will postgres release the space back to the OS or must I first remove the large object with lo_unlink() ? also, does the contrib vacuumlo perform tasks I cannot do via vacuum and lo_unlink ? Thanks in advance.. /Kevin ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: more blob questions 2008-01-18 04:45 more blob questions Kevin Kempter <kevin@kevinkempterllc.com> @ 2008-01-18 16:23 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2008-01-18 16:23 UTC (permalink / raw) To: Kevin Kempter <kevin@kevinkempterllc.com>; +Cc: pgsql-admin Kevin Kempter <kevin@kevinkempterllc.com> writes: > Suppose I have a table with say an integer key, a char column and a large > object column. > can I simply delete a row from the table (delete from bigtable where...), then > run a vacuum (or vacuum full) ? If so, in this scenario will postgres release > the space back to the OS or must I first remove the large object with > lo_unlink() ? That would release only the row's space, not the large object's. You need to do the lo_unlink(). > also, does the contrib vacuumlo perform tasks I cannot do via vacuum and > lo_unlink ? It doesn't do any magic. You might want to read the latest cleaned-up documentation for it: http://developer.postgresql.org/pgdocs/postgres/vacuumlo.html The contrib/lo module is also worth reading about. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2008-01-18 16:23 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2008-01-18 04:45 more blob questions Kevin Kempter <kevin@kevinkempterllc.com> 2008-01-18 16:23 ` Tom Lane <tgl@sss.pgh.pa.us>
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