wood burning stoves 2.0*
The moose likes JDBC and the fly likes Thin vs OCI driver : your feelings ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Thin vs OCI driver : your feelings !" Watch "Thin vs OCI driver : your feelings !" New topic
Author

Thin vs OCI driver : your feelings !

Valery Anciaux
Ranch Hand

Joined: May 14, 2001
Posts: 45
Hi,
I'm trying to figure out which driver I should use in a production environment, to configure my connection pool.
Either connecting to Oracle9i via a type-2 or a type-4 driver.
I know in the past OCI drivers were much more performant, but I have heard it is not true anymore.
Any experience to share ?
Thanks,
Val�ry
SJ Adnams
Ranch Hand

Joined: Sep 28, 2001
Posts: 925
In production we only use OCI. I think this is something to do with the oracle encryption plugin.
I would imagine firewall/dmz issues take precedent over performance for most people.
Loren Rosen
Ranch Hand

Joined: Feb 12, 2003
Posts: 156
In 8i the thin drivers had limited support for failover, and for dealing with some multibyte character translations. So I've only used the OCI drivers.
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

We only use the thin drivers here. If you want to learn about performance comparison between the two, read Chapter 19 of Java Programming with Oracle JDBC by Donald Bales.
There is a lot of discussion on this on the web if you want to look:
search on "Oracle thin vs OCI JDBC driver" at www.google.com and you'll get some worthy discussions.
Jamie
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Thin vs OCI driver : your feelings !
 
Similar Threads
How To work With JDBC Type 2 Driver
Oracle Blob using Java help (Error: JVM_recv in socket input stream read )
fail-safe driver!!
UnsatisfiedLinkError
Connection Using OCI Driver