Re: pg_autovacuum: short, wide tables - Mailing list pgsql-bugs

From Mark Reid
Subject Re: pg_autovacuum: short, wide tables
Date
Msg-id 42CEB5B5.1090703@markreid.org
Whole thread Raw
In response to Re: pg_autovacuum: short, wide tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
>>I'm not proposing it for 8.1 though ...
>>
>>
>
>Well, why not?  Arguably Mark's problem is a bug, and it's not too late
>to address bugs.
>
>
FWIW, I'd be satisfied with a warning in the autovacuum docs about this
corner case.

>I'm not sure about the idea of not vacuuming the toast table when we
>decide to vacuum the main table.
>
>
If you promote toast tables to autovacuum candidates that can be
vacuumed independently, I think autovacuum doesn't need to do both when
it does the main table.  This would potentially improve performance by
minimizing the amount of work that needs to be done when a vacuum is
necessary.  OTOH, you can't stop regular vacuum from including the toast
table otherwise way more people would start bugging you :)

-Mark.

pgsql-bugs by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: pg_autovacuum: short, wide tables
Next
From: Mark Reid
Date:
Subject: Re: pg_autovacuum: short, wide tables