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

Home -> Community -> Usenet -> c.d.o.server -> Re: jdbc performance in Solaris

Re: jdbc performance in Solaris

From: Joe Smith <nospam_at_nospam.com>
Date: Wed, 19 Jan 2005 11:24:30 +0100
Message-ID: <41ee35d7$0$7095$8fcfb975@news.wanadoo.fr>

>
> I suggest you try setting the following environment variables and
> restart your Java application (the second one is needed if your
> application is 64-bit; if not, setting it is harmless):
> export LD_LIBRARY_PATH=/usr/lib/lwp
> export LD_LIBRARY_PATH_64=/usr/lib/lwp/64

>
> Please let us know if you find anything. If you find Bobby's suggestion
> (below) works, also let us know. Thanks.
>

Well, nothing new around here. Bobby's suggestions and yours haven't improved the performance.
I'm not sure if the threading model of java is really an issue; the problem is in fact the performance of a single java.sql.Connection object, running in a single thread.

When I launch several instances of the test program several times, or a multithreaded version, oracle is able to absorb the load; what I found strange is the "factor" difference between Windows and solaris. As a reminder, in Windows, the connection with autocommit on is around 1.5 times slower (400 insertions/second without autocommit, 250-300 with autocommit), whereas in solaris, this factor may go up to 10 (440 / 44).

The test program and the JDBC drivers version are the same. That's why I think it's more OS or Oracle related, and not Java related. I've tried with different JDBC drivers versions (9.0, 9.2, 10), and the results are the same.

Well, thanks for your support. Received on Wed Jan 19 2005 - 04:24:30 CST

Original text of this message

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