Re: prepared statement performance

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: prepared statement performance
Дата
Msg-id 3B4A4F8E.C5EAB5F1@selectacast.net
обсуждение исходный текст
Ответ на prepared statement performance  (Sheer El-Showk <sheer@saraf.com>)
Список pgsql-jdbc
Perpared statements in postgres jdbc are converted on the java side and
then shipped to the backed, so there will no performance increase.

Sheer El-Showk wrote:
>
> Does anyone have some handy metrics of the performance advantage of
> prepared vs unprepared statements?  I'm considering the case of an
> application which has to make multiple queries/inserts (30-100) per
> application transaction and which is currenlty generating the sql by
> building the strings on the fly then passing them to the JDBC.  Can I
> expect significant (ie worth the recoding time) performance increases by
> converting the statements into prepared statements?
>

--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com

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

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: Shutdown hook imp
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: Patch to remove connection hook and JDK 1.3 dependencies