Re: Computing the conflict xid for index page-level-vacuum on primary

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: Computing the conflict xid for index page-level-vacuum on primary
Дата
Msg-id CAPpHfdvFL-ynrPmqMF+QbxvNYTBpZ9dOWxtaFPKuOa3FV83qvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Computing the conflict xid for index page-level-vacuum on primary  (Andres Freund <andres@anarazel.de>)
Ответы Re: Computing the conflict xid for index page-level-vacuum on primary  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Fri, Dec 14, 2018 at 4:43 AM Andres Freund <andres@anarazel.de> wrote:
> This leads me to think that we possibly should move computation of the
> last removed xid from recovery to the primary, during the generation of
> the xl_btree_delete WAL record.

Do I understand correctly that we need this xid computation, because
we may delete some index tuples using kill_prior_tuple before we prune
corresponding heap tuples (which would be also replicated and cause
required conflict)?  If so, then can we just give up with that?  That
is before setting kill_prior_tuple = true, prune corresponding heap
tuples.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: removal of dangling temp tables
Следующее
От: Andres Freund
Дата:
Сообщение: Re: removal of dangling temp tables