Re: New Table Access Methods for Multi and Single Inserts

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: New Table Access Methods for Multi and Single Inserts
Дата
Msg-id Y0ZRE+glRLDUyUb3@paquier.xyz
обсуждение исходный текст
Ответ на Re: New Table Access Methods for Multi and Single Inserts  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Ответы Re: New Table Access Methods for Multi and Single Inserts  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
On Mon, Mar 07, 2022 at 05:09:23PM +0100, Matthias van de Meent wrote:
> That's for the AM-internal flushing; yes. I was thinking about the AM
> api for flushing that's used when finalizing the batched insert; i.e.
> table_multi_insert_flush.
>
> Currently it assumes that all buffered tuples will be flushed after
> one call (which is correct for heap), but putting those unflushed
> tuples all at once back in memory might not be desirable or possible
> (for e.g. columnar); so we might need to call table_multi_insert_flush
> until there's no more buffered tuples.

This thread has been idle for 6 months now, so I have marked it as
returned with feedback as of what looks like a lack of activity.  I
have looked at what's been proposed, and I am not really sure if the
direction taken is correct, though there may be a potential gain in
consolidating the multi-insert path within the table AM set of
callbacks.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Clarify the comments about varlena header encoding
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Kerberos delegation support in libpq and postgres_fdw