Re: COPY FROM performance improvements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY FROM performance improvements
Дата
Msg-id 26555.1123688277@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: COPY FROM performance improvements  ("Luke Lonergan" <LLonergan@greenplum.com>)
Ответы Re: COPY FROM performance improvements  ("Luke Lonergan" <llonergan@greenplum.com>)
Re: (was COPY FROM) performance improvements  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-patches
"Luke Lonergan" <LLonergan@greenplum.com> writes:
> Yes, I think one thing we've learned is that there are important parts
> of the code, those that are in the data path (COPY, sort, spill to
> disk, etc) that are in dire need of optimization.  For instance, the
> fgetc() pattern should be banned everywhere in the data path.

Luke, I dislike whacking people upside the head, but this discussion
seems to presume that raw speed on Intel platforms is the only thing
that matters.  We have a few other concerns.  Portability, readability,
maintainability, and correctness all trump platform-specific
optimizations.  The COPY patch as presented lost badly on all those
counts, and you are lucky that it didn't get rejected completely.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY FROM performance improvements
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: 5 new entries for FAQ