Re: Logical decoding for operations on zheap tables

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Logical decoding for operations on zheap tables
Дата
Msg-id CAA4eK1K7LtbS8tRuL2owkvkYa9UKiOZqCWB0qtF_uovOs6zUJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Logical decoding for operations on zheap tables  (Andres Freund <andres@anarazel.de>)
Ответы Re: Logical decoding for operations on zheap tables  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
On Fri, Jan 4, 2019 at 9:01 AM Andres Freund <andres@anarazel.de> wrote:
>
> On 2019-01-04 08:54:34 +0530, Amit Kapila wrote:
> > The only point for exposing a different tuple format via plugin was a
> > performance which I think can be addressed if we expose via slots.  I
> > don't want to take up exposing slots instead of tuples for plugins as
> > part of this project and I think if we want to go with that, it is
> > better done as part of pluggable API?
>
> No, I don't think it makes sense to address this is as part of
> pluggable storage. That patchset is already way too invasive and
> large.
>

Fair enough.  I think that for now (and maybe for the first version
that can be committed) we might want to use heap tuple format.  There
will be some overhead but I think code-wise, things will be simpler.
I have prototyped it for Insert and Delete operations of zheap and the
only thing that is required are new decode functions, see the attached
patch.  I have done very minimal testing of this patch as this is just
to show you and others the direction we are taking (w.r.t tuple
format) to support logical decoding in zheap.

Thanks for the feedback, further thoughts are welcome!

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

Вложения

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Delay locking partitions during query execution
Следующее
От: Dmitry Dolgov
Дата:
Сообщение: Re: Pluggable Storage - Andres's take