wood burning stoves
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Thin vs OCI driver : your feelings !" Watch "Thin vs OCI driver : your feelings !" New topic

Thin vs OCI driver : your feelings !

Valery Anciaux
Ranch Hand

Joined: May 14, 2001
Posts: 45
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 ?
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Thin vs OCI driver : your feelings !
It's not a secret anymore!