> > Vacuum collects stats on table size on every run. Vacuum analyze every
> > night is a waste unless the tables are really changing dramatically
> > every day.
>
> Agreed. My tables are changing dramatically every day under normal usage.
> Ideally, vacuuming would be auto-triggered after so many
> inserts/updates/deletes.
We have thought of that too. Some vacuum option that would do stats
only if X % of the table had changed.
--
Bruce Momjian | http://www.op.net/~candle
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026