Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Using procedures instead of coding update/insert
How did you call the stored procedures from java/jdbc?
-Joe
At 10:55 AM 1/15/02, you wrote:
>We have done some preliminary testing and found prepared statements about
>20% faster than stored procedures. We inserted 200,000 records at a time
>(28-50 columns in a table ) using stored procedures and then used prepared
>statements for the same dataset. Both of them were called from java using
>JDBC thin drivers and interestingly found prepared statements faster.
>Similarly, deletes were also about 15%-20% faster using prepared
>statements. For some reasons, updates to the same tables gave almost
>identical performance.
>
>Rakesh
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Rakesh Gupta
> INET: GuptaR_at_telecomsys.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Joe Raube INET: joe_at_fullmoondba.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jan 15 2002 - 10:41:00 CST