Re: Performance of batches with Statements and PreparedStatements

Поиск
Список
Период
Сортировка
От John Guthrie
Тема Re: Performance of batches with Statements and PreparedStatements
Дата
Msg-id 050f01c2fe83$f359e180$3dc810ac@corphq.psynapsetech.net
обсуждение исходный текст
Ответ на Performance of batches with Statements and PreparedStatements  (Jeff Kolesky <jeff@edusoft.com>)
Ответы Re: Performance of batches with Statements and  (Felipe Schnack <felipes@ritterdosreis.br>)
Список pgsql-jdbc
> If I take the semi-colon approach, I cannot use a PreparedStatement
> easily, which is fine.  I read somewhere that the implementation of
> executeBatch() just executes all of the statements one-by-one, which
> would be as slow as executing separate statements.

seems to me that it wouldn't be as slow. for one thing you'd eliminate all
the network traffic.

john


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

Предыдущее
От: Mark French
Дата:
Сообщение: Callable Statements
Следующее
От: Felipe Schnack
Дата:
Сообщение: Re: Performance of batches with Statements and