View Single Post

   
  #4 (permalink)  
Old 04-15-2008, 11:42 PM
Darcy Buskermolen
 
Posts: n/a
Default Re: Simple thing to make pg_autovacuum more useful

On Thursday 17 January 2008 19:17:00 Joshua D. Drake wrote:
> On Thu, 17 Jan 2008 21:43:46 -0300
>
> Alvaro Herrera <alvherre@commandprompt.com> wrote:
> > Tom Lane wrote:
> > > Alvaro Herrera <alvherre@commandprompt.com> writes:
> > > > All this thread is a waste of time. We've previously agreed that
> > > > we're going to store autovacuum per-table settings in
> > > > pg_class.reloptions.
> > >
> > > I had forgotten that discussion. So the plan is for the
> > > pg_autovacuum catalog to go away entirely, correct?

> >
> > Yup.

>
> Wait .reloptions is a column... how are we going to populate it and
> array?


ALTER TABLE foo SET autovacuum to true;
ALTER TABLE foo SET autovacuum_naptime to '1min';

(or there about)

I suppose we could also have pg_autovacuum become a view, with rules to manage
relopts.

>
> Sincerely,
>
> Joshua D. Drake




--
Darcy Buskermolen
Command Prompt, Inc.
+1.503.667.4564 X 102
http://www.commandprompt.com/
PostgreSQL solutions since 1997

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote