Re: Fast COPY FROM based on batch insert

Поиск
Список
Период
Сортировка
От Andrey Lepikhov
Тема Re: Fast COPY FROM based on batch insert
Дата
Msg-id ccf33ea3-65b4-72dd-6bfb-337fb448433e@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Fast COPY FROM based on batch insert  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Ответы Re: Fast COPY FROM based on batch insert
Список pgsql-hackers
On 28/10/2022 16:12, Etsuro Fujita wrote:
> On Thu, Oct 13, 2022 at 6:58 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
>> I have committed the patch after tweaking comments a little bit further.
> 
> I think there is another patch that improves performance of COPY FROM
> for foreign tables using COPY FROM STDIN, but if Andrey (or anyone
> else) want to work on it again, I think it would be better to create a
> new CF entry for it (and start a new thread for it).  So I plan to
> close this in the November CF unless they think otherwise.
> 
> Anyway, thanks for the patch, Andrey!  Thanks for reviewing, Ian and Zhihong!
Thanks,

I studied performance of this code in comparison to bulk INSERTions.
This patch seems to improve speed of insertion by about 20%. Also, this 
patch is very invasive. So, I don't have any plans to work on it now.

-- 
regards,
Andrey Lepikhov
Postgres Professional




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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Use LIMIT instead of Unique for DISTINCT when all distinct pathkeys are redundant
Следующее
От: vignesh C
Дата:
Сообщение: Re: Improve tab completion for ALTER FUNCTION/PROCEDURE/ROUTINE