Re: Libpq COPY optimization

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Libpq COPY optimization
Дата
Msg-id 26259.1136749911@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Libpq COPY optimization  ("Alon Goldshuv" <agoldshuv@greenplum.com>)
Ответы Re: Libpq COPY optimization
Список pgsql-hackers
"Alon Goldshuv" <agoldshuv@greenplum.com> writes:
> The following is a suggestion for optimizing the libpq COPY FROM call for
> better performance. I submitted a similar suggestion awhile ago, but it
> wasn't safe enough. This one is better.

It's not enough better, because it will still deadlock given a
sufficiently large message-to-send.  I don't think you can postpone
the clearing-input action until after all the data is sent.
        regards, tom lane


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