Re: snapshots in analyze

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: snapshots in analyze
Дата
Msg-id 6862.1446310364@sss.pgh.pa.us
обсуждение исходный текст
Ответ на snapshots in analyze  (Andres Freund <andres@anarazel.de>)
Ответы Re: snapshots in analyze  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Another angle would be trying to reduce the effects of longrunning
> transaction. Right now holding a snapshot open for 100 seconds results
> in profiles like this: ...
> which is pretty extreme. It's not such a seldom thing to hold a snapshot
> (e.g. pg_dump...) open for a while.

Yeah.  I'm afraid blaming ANALYZE for this is just shooting the messenger.
Even in a mostly-OLTP workload there are going to be some long-running
queries, for reporting or whatever.  I think we need to focus on how we
can improve that situation in general, rather than inserting kluges into
ANALYZE (or pg_dump).
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: September 2015 Commitfest
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: September 2015 Commitfest