Re: Functions with COPY

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Functions with COPY
Дата
Msg-id 29399.1070044636@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Functions with COPY  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> You can do any amount of processing you want in an INSERT statement,
>> though.

> Certainly, but for bulk loads that requires more pre-processing work for
> the user and I believe results in more work for the server too (it
> certainly takes longer...).

Have you batched multiple INSERTs into a transaction?  Also consider
using a prepared statement to eliminate parse/plan overhead.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: about explain analyze
Следующее
От: Tom Lane
Дата:
Сообщение: Re: about explain analyze