These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: best Oracle Driver
PostPosted: Fri May 13, 2005 1:23 pm 
Beginner
Beginner

Joined: Thu Mar 03, 2005 5:01 am
Posts: 33
Location: Wrocław (Poland)
Hi,

my application sends plenty queries per second.

Whitch Oracle driver do You recommend?

I tried to use oracle.jdbc.driver.OracleDriver and com.ddtek.jdbc.oracle.OracleDriver but performance was much worse than with mySQL database for the same application!!!

my Oracle version : 9.2.0.1, driver was the newst from Oracle website.

regards,

_________________
bimki


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 13, 2005 2:40 pm 
Beginner
Beginner

Joined: Wed Dec 17, 2003 10:13 am
Posts: 33
Maybe you didn't set up the Oracle database properly. Indexes, maintaining referential integrity, etc. can have a big impact on performance.

No offence, but I'd doubt myself before I suspected the JDBC driver. Do you know Oracle as well as you do MySQL? My experience is that Oracle tends to be more complex. Are you using InnoDB tables in MySQL to maintain referential integrity?

The JDBC driver from Oracle is as good as any. I'd Google for info re: performance.

%
[/quote]

_________________
MOD


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 13, 2005 4:28 pm 
Beginner
Beginner

Joined: Thu Mar 03, 2005 5:01 am
Posts: 33
Location: Wrocław (Poland)
it was _standard_ configuration of mySQL and _standart_ (general purpose) for Oracle

In simple experiment - whitch contains about 10 sql queries, Oracle is much better

but when Hibernate generates more than 1000 sql queries (whitch is normal for object manipulation) Oracle becomes poor results compared to mySQL and MS sql server :(

_________________
bimki


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 13, 2005 5:40 pm 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
increase oracle sql area.it is too small, probably

oracle is better for complex database (many queries), but it have to set correct

regards


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 26, 2005 3:48 pm 
Regular
Regular

Joined: Thu Oct 07, 2004 4:45 pm
Posts: 92
I'm also on a hunt for the "best" Oracle driver to use with Hibernate. I use the Oracle 10g driver for JDK 1.4 (ojdbc14.zip) because it's the only one from Oracle that seems to handle large (>4k) LOBs correctly without resorting to a Hibernate UserType. However, as others have pointed out, you need to set "hibernate.jdbc.batch_size" to 0 or LOBs don't work.

Is there a driver out there that works with Oracle 9i, handles LOBs correctly, AND supports a batch size > 0?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 26, 2005 5:14 pm 
Beginner
Beginner

Joined: Thu Mar 03, 2005 5:01 am
Posts: 33
Location: Wrocław (Poland)
hi,

maybye there is, but probably not for free :(

I leaved Oracle and I now I'm using SQL Server. It looks work better with Hibernate despite it is Microsoft product ;)

Regards,

_________________
bimki


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 26, 2005 5:20 pm 
Regular
Regular

Joined: Thu Oct 07, 2004 4:45 pm
Posts: 92
A commercial driver is fine if it does the job. Surely there must be some driver out there that meets this criteria.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 26, 2005 5:57 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
datadirect


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.