autovacuum and orphaned large objects - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject autovacuum and orphaned large objects
Date
Msg-id 4EA4F00F.3040208@timbira.com
Whole thread Raw
Responses Re: autovacuum and orphaned large objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: autovacuum and orphaned large objects  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hi,

The main point of autovacuum is maintenance tasks. Currently, it executes 
VACUUM and ANALYZE commands. I want to propose that we incorporate vacuumlo 
functionality into it. While dealing with large objects (LO), we have lo 
contrib module that helps with LO maintenance but has some limitations (does 
not handle DROP TABLE and TRUNCATE cases) and vacuumlo that does an excellent 
job but have to be executed outside DBMS. The proposal is to clean up LO when 
autovacuum triggers VACUUM; cleanup LO routine will starts after(?) VACUUM 
command.

In a near future I want to propose that orphaned LO be cleaned up by VACUUM 
but that a history for another thread...

Comments?


--    Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/   PostgreSQL: Consultoria, Desenvolvimento,
Suporte24x7 e Treinamento
 


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Hot Backup with rsync fails at pg_clog if under load
Next
From: Florian Pflug
Date:
Subject: Re: Hot Backup with rsync fails at pg_clog if under load