Re: vacuum analyze again... - Mailing list pgsql-general

From Chris Jones
Subject Re: vacuum analyze again...
Date
Msg-id a5fsnl9mfrf.fsf@legolas.mt.sri.com
Whole thread Raw
In response to Re: vacuum analyze again...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: vacuum analyze again...
List pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:

> No, we have no ability to randomly pick rows to use for estimating
> statistics.  Should we have this ability?

That would be really slick, especially given the fact that VACUUM runs
much faster than VACUUM ANALYZE for a lot of PG users.  I could change
my daily maintenance scripts to do a VACUUM of everything, followed by
a VACUUM ANALYZE of the small tables, followed by a VACUUM ANALYZE
ESTIMATE (or whatever) of the large tables.

Even cooler would be the ability to set a table size threshold, so
that VACUUM ANALYZE would automatically choose the appropriate method
based on the table size.

Chris

--
chris@mt.sri.com -----------------------------------------------------
Chris Jones                                    SRI International, Inc.
                                                           www.sri.com

pgsql-general by date:

Previous
From: "Richard Huxton"
Date:
Subject: Re: postgres load
Next
From: Bruce Momjian
Date:
Subject: Re: vacuum analyze again...