Re: really quick multiple inserts can use COPY?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: really quick multiple inserts can use COPY?
Дата
Msg-id 13688.1165857089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на really quick multiple inserts can use COPY?  ("Jens Schipkowski" <jens.schipkowski@apus.co.at>)
Список pgsql-performance
"Jens Schipkowski" <jens.schipkowski@apus.co.at> writes:
> Is it possible to use COPY FROM STDIN with JDBC?

You should be asking the pgsql-jdbc list, not here.  (I know I've seen
mention of a JDBC patch to support COPY, but I dunno if it's made it into
any official version.)

> Will it bring performance improvement compared to SELECT UNION solution?

Please, at least be smart enough to use UNION ALL not UNION.

If you're using 8.2 you could also consider using INSERT with multiple
VALUES-lists.

            regards, tom lane

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

Предыдущее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: really quick multiple inserts can use COPY?
Следующее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: really quick multiple inserts can use COPY?