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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle performance C OCI vs. JDBC thin?

Re: Oracle performance C OCI vs. JDBC thin?

From: Ruud de Koter <ruud_dekoter_at_hp.com>
Date: Mon, 25 Feb 2002 09:48:28 +0100
Message-ID: <3C79FA5C.3AD105C9@hp.com>


Hi there,

Davide Bianchi wrote:
>
> "Pasi Kovanen" <Pasi.Kovanen_at_removethis.iki.fi.invalid> wrote in message
> news:a54sjo$8m0$1_at_news1.song.fi...
>
> > Has anyone compared (preferrably on Solaris
> > but Windows is OK) performance of queries using
> <zap>
>
> I did something like that, and my results are that the OCI
> driver is 33% faster than the Thin driver, but the OCI is
> also dependent on the Oracle Client installed on the machine,
> so you have another piece to install and configure.
>

An interesting comparison can be found at:

http://www.oreilly.com/catalog/jorajdbc/chapter/ch19.html

In this sample chapter Donald Bales (also referred to by 'AV') claims the Thin driver to be faster. Interestingly enough he describes only insert statements in his testing (though with reasons).

As a rule I try to test in a setup that is as close as possible to the actual application environment to be developed. This will often mean testing on larger and more complicated statements. I have recently done that for the application we develop and have found the OCI driver roughly 10 % faster than the Thin driver. This was done from a Windows 2000 client connecting to an Oracle 8.1.7 database running on HP-UV 11.0.

Another interesting point is that the Thin driver requires a TCP/IP connection, where the OCI driver works with other network protocols as well.

Regards,

Ruud de Koter

-- 
--------------------------------------------------------------------------------------
Ruud de Koter                    HP OpenView Software Business Unit
Senior Software Engineer         IT Service Management Operation
Telephone: +31 (20) 514 15 89    Van Diemenstraat 200  
Telefax  : +31 (20) 514 15 90    PO Box 831
Telnet   : 547 - 1589            1000 AV  Amsterdam, the Netherlands
Email    : ruud_dekoter_at_hp.com

internet: http://www.openview.hp.com/itsm
          http://www.openview.hp.com/assetview
intranet: http://ovweb.bbn.hp.com/itservicemanager
--------------------------------------------------------------------------------------
Received on Mon Feb 25 2002 - 02:48:28 CST

Original text of this message

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