Re: Improving replay of XLOG_BTREE_VACUUM records

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Improving replay of XLOG_BTREE_VACUUM records
Дата
Msg-id CANP8+j+Hh8us6P+KT9u4UB5cFTOJg2xBnCLekrOy7upqd7sE4w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improving replay of XLOG_BTREE_VACUUM records  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Improving replay of XLOG_BTREE_VACUUM records  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Improving replay of XLOG_BTREE_VACUUM records  (Vladimir Borodin <root@simply.name>)
Список pgsql-hackers
On 10 March 2016 at 09:22, Michael Paquier <michael.paquier@gmail.com> wrote:
On Thu, Mar 10, 2016 at 10:00 AM, Vladimir Borodin <root@simply.name> wrote:
> Let’s do immediately after you will send a new version of your patch? Or
> even better after testing your patch? Don’t get me wrong, but rejecting my
> patch without tangible work on your patch may lead to forgiving about the
> problem before 9.6 freeze.

This makes sense. Let's not reject this patch yet if the alternative
approach is not committed.

I attach 2 patches.

avoid_pin_scan_always.v1.patch 
Takes the approach that we generate the same WAL records as in 9.5, we just choose not to do anything with that information. This is possible because we don't care anymore whether it is toast or other relations. So it effectively reverts parts of the earlier patch.
This could be easily back-patched more easily.

toast_recheck.v1.patch
Adds recheck code for toast access. I'm not certain this is necessary, but here it is. No problems found with it.

--
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Вложения

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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: psql completion for ids in multibyte string
Следующее
От: David Rowley
Дата:
Сообщение: Re: Parallel Aggregate