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

Home -> Community -> Mailing Lists -> Oracle-L -> same client, two dbs--take 2

same client, two dbs--take 2

From: Paul Baumgartel <PaulB_at_instipro.com>
Date: Fri, 01 Jun 2001 13:22:35 -0700
Message-ID: <F001.0031899A.20010601130854@fatcity.com>

I'm seeking help in diagnosing the cause of the following odd behavior:

I have a Java program on a client machine (all machines mentioned are Sun Solaris). It reads data from a static set of files and calls, via the 8.1.7 OCI JDBC driver, a packaged procedure that inserts data. This program uses a new JDBC interface, available with 8.1.7, that allows Java to pass PL/SQL
"index-by" tables to a procedure.

Run against an 8.1.7 database with sql_trace enabled, the trace file shows 1544 executions of the packaged procedure, 1544 "insert into..." statements, and elapsed time for database operations of about 20 seconds.

When run against an 8.1.5 database on a different machine (the database login information is in a properties file, read by the client at runtime), the trace file shows 14,613 executions of the packaged procedure, 14,614
"insert into..." statements, and elapsed time for database operations of
about 123 seconds.

Yet both databases show the same results (rows inserted).

The raw trace file on the 8.1.5 database is about 10 times the size of that on the 8.1.7 database. The string "begin create_event.insert_event;end;" appears 1566 in the 8.1.7 trace file, and 14,614 times in the 8.1.5 trace file.

What in the world is going on here? Any and all suggestions welcome. I do intend to upgrade the 8.1.5 server to 8.1.7 soon, btw.

Thanks!

Paul Baumgartel
InstiPro Group, Inc.
paul.baumgartel_at_instipro.com
212 813-0829 x103

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Paul Baumgartel
  INET: PaulB_at_instipro.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 Fri Jun 01 2001 - 15:22:35 CDT

Original text of this message

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