Re: (auto-)analyze causing bloat/load

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: (auto-)analyze causing bloat/load
Дата
Msg-id 24076.1413657053@sss.pgh.pa.us
обсуждение исходный текст
Ответ на (auto-)analyze causing bloat/load  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: (auto-)analyze causing bloat/load  (Andres Freund <andres@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: BRUSSER Michael
Дата:
Сообщение: initdb failure on RH 5.10
Следующее
От: Andres Freund
Дата:
Сообщение: Re: (auto-)analyze causing bloat/load