Re: Batch updates and inserts

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Batch updates and inserts
Дата
Msg-id Pine.BSO.4.56.0505091250220.5342@leary.csoft.net
обсуждение исходный текст
Ответ на Batch updates and inserts  ("Igor Postelnik" <Igor_Postelnik@messageone.com>)
Список pgsql-jdbc

On Mon, 9 May 2005, Igor Postelnik wrote:

> What combination of JDBC driver and backend do I need to have support
> for addBatch/executeBatch? What's a reasonable limit for number of
> statements in a batch - either by number of rows or total size?
>

Batch statements have been available in the driver for some time, but the
8.0 driver is the first driver to actually perform them in a batch
fashion.  It requires at least a 7.4 server to take advantage of this.
Size doesn't really matter because the driver itself will internally run
things in batches of 256 statements at a time.

Kris Jurka


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

Предыдущее
От: "Igor Postelnik"
Дата:
Сообщение: Batch updates and inserts
Следующее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Translation update: pt_BR