Re: (auto-)analyze causing bloat/load - Mailing list pgsql-hackers

From Tom Lane
Subject Re: (auto-)analyze causing bloat/load
Date
Msg-id 24076.1413657053@sss.pgh.pa.us
Whole thread Raw
In response to (auto-)analyze causing bloat/load  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: (auto-)analyze causing bloat/load
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> Interestingly we already set PROC_IN_ANALYZE - but we never actually
> look at it. I wonder what it'd take to ignore analyze in
> GetSnapshotData()/GetOldestXmin()... At first sight it looks quite
> doable to not have a snapshot around (or setup to be ignored) while
> acquire_sample_rows() is running. As that's the expensive bit...

Say what?  How is ANALYZE supposed to know which rows are valid
without a snapshot?
        regards, tom lane



pgsql-hackers by date:

Previous
From: BRUSSER Michael
Date:
Subject: initdb failure on RH 5.10
Next
From: Andres Freund
Date:
Subject: Re: (auto-)analyze causing bloat/load