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

From Tom Lane
Subject Re: vacuum analyze again...
Date
Msg-id 936.982696671@sss.pgh.pa.us
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:
>> I find it hard to believe that VAC ANALYZE is all that much slower than
>> plain VACUUM anyway; fixing the indexes is the slowest part of VACUUM in
>> my experience.  It would be useful to know exactly what the columns are
>> in a table where VAC ANALYZE is considered unusably slow.

> VACUUM ANALYZE does a huge number of adt/ function calls.  It must be
> those calls that make ANALYZE slower.  People report ANALYZE is
> certainly slower, and that is the only difference.

That's why I'm asking what the data is.  The function calls per se can't
be that slow; I think there must be some datatype-specific issue.

With TOAST in the mix, TOAST fetches could very well be an issue, but
I didn't think 7.1 was being discussed ...

            regards, tom lane

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: vacuum analyze again...
Next
From: Dan Lyke
Date:
Subject: Re: Re: A How-To: PostgreSQL from Tcl via ODBC