Re: handling TOAST tables in autovacuum

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: handling TOAST tables in autovacuum
Date: 2008-06-09 02:19:12
Message-ID: 20080609021912.GD11493@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Euler Taveira de Oliveira wrote:

> FYI, I have a WIP patch to remove pg_autovacuum in favor of reloptions.

Really? Please send it my way to review/apply as soon as you have it
ready, independently of what we do with toast tables.

> Let's keep it simple. Why not just adding a toast_enabled flag (disabled
> by default) in pg_autovacuum? If it's set then main and toast tables are
> processed by autovac.

Actually I think your proposal is more cumbersome to use and less
flexible, because you can't set specific values for the other options
for toast tables.

> And based on your proposal, it'll be needed to add reloptions to toast
> tables too. IMO, we should keep that code as simple as possible.

Sure, what's the problem with that? We only need to make sure that
ALTER TABLE works for setting reloptions for toast tables.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Chernow 2008-06-09 02:36:41 Re: libpq support for arrays and composites
Previous Message Marc G. Fournier 2008-06-09 02:03:47 Re: [CORE] Automating our version-stamping a bit better