Hi,
We are developing a web application using Weblogic 5.1
App Server and Oracle 8*i database. At present , we are using Oracle Thin Driver for our database connection. Oracle Thin drivers were chosen instead of OCI drivers as they were supposed to be providing better performance.
However, I feel that Thin driver, being pure Java Type 4 driver, will have lesser performance potential when compared to the native Oracle OCI drivers from Oracle or Weblogic (Weblogic OCI or JDBC Kona) .
I would very much appreciate if you could let me know of your thoughts on this subject. Also, it will be great if you could provide some references to such performance comparisons regarding Oracle Drivers.
Thanks,
Sunil
-
Oracle Thin Driver Vs. OCI Driver (9 messages)
- Posted by: Sunil Chandran
- Posted on: March 09 2001 16:34 EST
Threaded Messages (9)
- Oracle Thin Driver Vs. OCI Driver by Dave Wolf on March 11 2001 15:08 EST
- Oracle Thin Driver Vs. OCI Driver by Dat Truong on March 14 2001 09:24 EST
- Oracle Thin Driver Vs. OCI Driver by Sunil Chandran on March 14 2001 18:26 EST
- Oracle Thin Driver Vs. OCI Driver by Mike Perham on March 17 2001 15:14 EST
-
Oracle Thin Driver Vs. OCI Driver by Ben Flaumenhaft on March 19 2001 04:31 EST
- Oracle Thin Driver Vs. OCI Driver by Ramesh Ramachandran on March 19 2001 06:22 EST
-
Oracle Thin Driver Vs. OCI Driver by Ben Flaumenhaft on March 19 2001 04:31 EST
- Oracle Thin Driver Vs. OCI Driver by MUS on May 05 2004 10:23 EDT
- Oracle8i - JDBC Performance by xu li on July 09 2003 23:41 EDT
- Oracle8i - JDBC Performance by MUS on May 05 2004 10:21 EDT
-
Oracle Thin Driver Vs. OCI Driver[ Go to top ]
- Posted by: Dave Wolf
- Posted on: March 11 2001 15:08 EST
- in response to Sunil Chandran
In my experience from many different clients, you are MUCH better off using the thin driver. The issue is the OCI driver isnt thread safe and you will find that 1) this causes the driver to be slower then the thin driver and 2) this makes the OCI driver alot less stable.
Your first choice was right, stick with the thin driver.
Dave Wolf
Internet Applications Division
Sybase
-
Oracle Thin Driver Vs. OCI Driver[ Go to top ]
- Posted by: Dat Truong
- Posted on: March 14 2001 09:24 EST
- in response to Dave Wolf
But there's a fail-over issue, that OCI driver can preserve a state of it's clients, where as the thin driver cannot. -
Oracle Thin Driver Vs. OCI Driver[ Go to top ]
- Posted by: Sunil Chandran
- Posted on: March 14 2001 18:26 EST
- in response to Dave Wolf
Hi Dave,
Thanks for your response. I have heard that Thin drivers have problems when they are used in a clustered application server environment with multi-threaded programs using database connections.
Also, any idea where I can find some documentation on performance comparisons between the two.
Thanks,
Sunil
-
Oracle Thin Driver Vs. OCI Driver[ Go to top ]
- Posted by: Mike Perham
- Posted on: March 17 2001 15:14 EST
- in response to Dave Wolf
That's interesting - my experience with the 8.1.5 drivers was the opposite. I never noticed any bugs in either driver but did come to the conclusion that the OCI driver was 20-30% faster than the thin on Solaris 2.5.
This was on the production machines for living.com (now deceased) - with several thousand users hitting the site at a given time via Dynamo 4.5.
I guess YMMV.
Mike -
Oracle Thin Driver Vs. OCI Driver[ Go to top ]
- Posted by: Ben Flaumenhaft
- Posted on: March 19 2001 16:31 EST
- in response to Mike Perham
Another issue with partially native drivers is that they're usually more difficult to install (you don't just add a .jar file to your lib directory or classpath and change your JDBC connect string).
They also tie you to one deployment platform. Worth keeping in mind ...
Regards,
Ben Flaumenhaft
Principal, Sidelight Consulting
http://www.sidelight.com
-
Oracle Thin Driver Vs. OCI Driver[ Go to top ]
- Posted by: Ramesh Ramachandran
- Posted on: March 19 2001 18:22 EST
- in response to Ben Flaumenhaft
Hi,
I am using Solaris 2.8 Oracle 8.1.7 JDK 1.3.1 and I found that Thin performs better at higher Transaction rates compared to OCI and uses less CPU. But Oracle processes uses more CPU to handle these requests. Also, its much easier to configure that the OCI driver. I have reverse experience with earlier versions of oracle and solaris.
Thanks,
-Ramesh
Sun Microsystems. -
Oracle Thin Driver Vs. OCI Driver[ Go to top ]
- Posted by: MUS
- Posted on: May 05 2004 10:23 EDT
- in response to Dave Wolf
I think this will help you resolve the issue;
1) http://www.csee.umbc.edu/help/oracle8/java.815/a64685/getsta1.htm
2) http://sales.esicom.com/sales/oracle/java.816/a81354/overvw2.htm
3) http://searchoracle.techtarget.com/originalContent/0,289142,sid41_gci920399,00.html
4) http://www.cis.upenn.edu/~cis550/TRASH/JDBC_doc/jdbcoci3.htm -
Oracle8i - JDBC Performance[ Go to top ]
- Posted by: xu li
- Posted on: July 09 2003 23:41 EDT
- in response to Sunil Chandran
-
Oracle8i - JDBC Performance[ Go to top ]
- Posted by: MUS
- Posted on: May 05 2004 10:21 EDT
- in response to xu li
I think this will help you resolve the issue;
1) http://www.csee.umbc.edu/help/oracle8/java.815/a64685/getsta1.htm
2) http://sales.esicom.com/sales/oracle/java.816/a81354/overvw2.htm
3) http://searchoracle.techtarget.com/originalContent/0,289142,sid41_gci920399,00.html
4) http://www.cis.upenn.edu/~cis550/TRASH/JDBC_doc/jdbcoci3.htm