Re: COPY FROM performance improvements

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: COPY FROM performance improvements
Дата
Msg-id 42F951F2.8010104@dunslane.net
обсуждение исходный текст
Ответ на Re: COPY FROM performance improvements  ("Alon Goldshuv" <agoldshuv@greenplum.com>)
Ответы Re: COPY FROM performance improvements  ("Luke Lonergan" <llonergan@greenplum.com>)
Список pgsql-patches

Alon Goldshuv wrote:

>I performed those measurement by executing *only the parsing logic* of the
>COPY pipeline. All data conversion (functioncall3(string...)) and tuple
>handling (form_heaptuple etc...) and insertion were manually disabled. So
>the only code measured is reading from disk and parsing to the attribute
>level.
>
>

Arguably this might exaggerate the effect quite significantly.  Users
will want to know the real time effect on a complete COPY. Depending on
how much the pasing is in the total time your 20% improvement in parsing
might only be a small fraction of 20% improvement in COPY.

Like you, I'm happy we have seen a 5 times improvement in parsing. Is it
possible you can factor out something smallish from your patch that
might make up the balance?

cheers

andrew

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

Предыдущее
От: "Alon Goldshuv"
Дата:
Сообщение: Re: COPY FROM performance improvements
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Autovacuum loose ends