prepared statement performance

From: Sheer El-Showk <sheer(at)saraf(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: prepared statement performance
Date: 2001-07-09 18:49:33
Message-ID: Pine.LNX.4.33.0107091445080.26310-100000@laudanum.saraf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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?

Thanks,
Sheer

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joseph Shraibman 2001-07-09 19:15:01 Re: Re: Patch to remove connection hook and JDK 1.3 depen
Previous Message Joseph Shraibman 2001-07-09 18:14:31 Re: Patch to remove connection hook and JDK 1.3 dependencies