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

same client, two DBs

From: Paul Baumgartel <PaulB_at_instipro.com>
Date: Fri, 01 Jun 2001 13:15:31 -0700
Message-ID: <F001.00318931.20010601124725@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..." statement,

-- 
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:15:31 CDT

Original text of this message

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