-->
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.  [ 2 posts ] 
Author Message
 Post subject: Need performance input
PostPosted: Wed Nov 10, 2004 1:14 pm 
Regular
Regular

Joined: Tue Nov 09, 2004 5:15 pm
Posts: 100
Hello,

Could someone who had migrated from legacy system (not a Dataware house) with Oracle DB which has used lots of stored procedures to Hibernate, please share your overall experience and performance issues, if any, that you had?

I greatly appreciate any input on this.

Thanks,
ssa1


Top
 Profile  
 
 Post subject: Re: Need performance input
PostPosted: Fri Nov 26, 2004 1:45 am 
Senior
Senior

Joined: Sat Jul 17, 2004 5:16 pm
Posts: 143
We used to use lots of PLSQL and we are moving to Hibernate (been using it for a year). We are at a University with lots of apps, lots of app servers, lots of databases. For our web apps we were synchronizing Java objects to PLSQL objects.

It seems like Hibernate might be a performance hit since it has to take data over the wire to the app server to process it, and might select more data than you need.

In actuality for our purposes, we got a performance wash or gain, and a better architecture.

With PLSQL (which we still will use for some batch processes and reports), you have the opposite performance problem... web params which could be processed on the app server need to go over the wire to the DB when they might not need to.

As far as scalability, if you can have a load balanced app server layer, you can scale much easier as the demand increases (we use Linux LVS with Tomcat). Keep the data access simple (Select / Insert / Update / Delete) and keep any logic off the DB that you can. Now you dont need to add processors to the DB, move databases around, etc. Just add more nodes to the app server layer. It is easier to add nodes to the app server node than to cluster the DB.

Also, you can now maintain one technology (Java), and you can debug through web transactions (painful or impossible with PLSQL).

Procedural languages are not as fully featured as Java, there are not as many third party packages, and Hibernate makes SQL seem like assembly language. You shouldnt need to write a lot of it to make an app.

Regards,
Chris


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.