Re: Poor addBatch performance. Why dosn't it use copy ?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Poor addBatch performance. Why dosn't it use copy ?
Дата
Msg-id Pine.BSO.4.64.0704201105350.26355@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Poor addBatch performance. Why dosn't it use copy ?  (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>)
Список pgsql-jdbc

On Fri, 20 Apr 2007, Giuseppe Sacco wrote:

> I use addBatch() very often when, but I use it with statement that work
> on different tables. I think it would really be difficult to check if
> the statements are referring the same table and the same field.

Well Statement.addBatch and PreparedStatement.addBatch are different
beasts.  It wouldn't be worth it to try and parse each Statement, but
parsing the PreparedStatement would be possible.

Kris Jurka

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Poor addBatch performance. Why dosn't it use copy ?
Следующее
От: "Bill Middleton"
Дата:
Сообщение: PGXADataSource does not implement DataSource