Re: Autovacuum Improvements

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Glen Parker <glenebob(at)nwlink(dot)com>
Cc: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Autovacuum Improvements
Date: 2006-12-19 22:18:25
Message-ID: 20061219221825.GR3036@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Glen Parker wrote:
> Alvaro Herrera wrote:
> >>>4) Expose all information used by autovacuum to form its decisions.
> >>You could argue that this is already there, although not easy to get at
> >>I suppose. But all table threshold settings are available either in the
> >>pg_autovacuum relation or the defaults via GUC variables, that plus a
> >>little math will get the information autovacuum uses to form its
> >>decisions.
> >
> >No, we currently don't expose the number of dead tuples which autovacuum
> >uses.
>
> I'd prefer to get this working somehow before 8.3. In the mean time, is
> this information available at all? I assume a c function could get it,
> right? Any easier way?

A C function would do. I don't think anything else would because we
don't expose it at the SQL level.

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthew O'Connor 2006-12-19 22:34:10 Re: Autovacuum Improvements
Previous Message Glen Parker 2006-12-19 22:11:41 Re: Autovacuum Improvements

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenneth Marshall 2006-12-19 22:20:58 Re: effective_cache_size vs units
Previous Message Gregory Stark 2006-12-19 22:12:34 Re: effective_cache_size vs units