Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thin vs OCI driver : your feelings !

 
Valery Anciaux
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 925
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic