Re: Query cancellation on hot standby because of buffer pins

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Query cancellation on hot standby because of buffer pins
Дата
Msg-id CA+U5nM+Gs7c3yi+sVwiiDWfXvQSwv=1NEMO2kpR5hUJ5cr_qwg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Query cancellation on hot standby because of buffer pins  (Drazen Kacar <drazen.kacar@oradian.com>)
Ответы Re: Query cancellation on hot standby because of buffer pins
Список pgsql-admin
On 23 February 2015 at 08:19, Drazen Kacar <drazen.kacar@oradian.com> wrote:

> At the time they happened on the standby there was vacuuming of one
> table participating in the select query on the primary.

The VACUUM will have generated a WAL record that needs super exclusive
access to the block. Since feedback was enabled that record would not
have removed data visible by the query, but still needs to edit the
block.

The query was pinning that block, so this situation led to a delay on
the standby, which then led to cancellation of the query.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, RemoteDBA, Training & Services


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

Предыдущее
От: Drazen Kacar
Дата:
Сообщение: Re: Query cancellation on hot standby because of buffer pins
Следующее
От: Drazen Kacar
Дата:
Сообщение: Re: Query cancellation on hot standby because of buffer pins