Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Anonymous block from Java--performance

Anonymous block from Java--performance

From: Baumgartel, Paul <paul.baumgartel_at_credit-suisse.com>
Date: Tue, 30 Jan 2007 21:56:21 -0000
Message-ID: <D97D1FAE0521BD44820B920EDAB3BBAC1663BC62@ENYC11P32005.corpny.csfb.com>


Follow-up to my earlier post about insert performance. This is 9.2.0.6 64-bit on Solaris.

An application executes an anonymous block 259 times. The block consists solely of insert statements. Trace shows total execution time for the 259 calls as about 90 seconds:

  However, cumulative elapsed time of the insert statements adds up to about 19 seconds.

The trace file shows a lot of 'SQL*Net more data from client' waits on the anonymous block cursors, but tkprof doesn't. I suspect that replacing the block with a stored procedure will help, but I don't yet have hard evidence of where the 70

Paul Baumgartel
CREDIT SUISSE
Information Technology
DBA & Admin - NY, KIGA 1
11 Madison Avenue
New York, NY 10010
USA
Phone 212.538.1143
paul.baumgartel_at_credit-suisse.com
www.credit-suisse.com



Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html


--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 30 2007 - 15:56:21 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US