This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JDBC and the fly likes Thin vs OCI driver : your feelings ! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Thin vs OCI driver : your feelings !
 
Similar Threads
UnsatisfiedLinkError
Oracle Blob using Java help (Error: JVM_recv in socket input stream read )
fail-safe driver!!
How To work With JDBC Type 2 Driver
Connection Using OCI Driver