-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate causing high version counts in Oracle sql area
PostPosted: Tue Dec 06, 2011 4:28 am 
Newbie

Joined: Thu Dec 09, 2004 8:02 am
Posts: 5
Hi,
We have a heavily used application that uses hibernate in a number of areas to query an Oracle database (10.2.0.4). Our DBA's have notified us of a problem with a high version count for particular inserts and updates generated by hibernate, that is causing a problem with the application scaling. We're seeing a large number of similar but slightly different inserts and updates for certain heavily used tables.

For example, we have a sender table with about 50 columns. Within the sql area, we see many different insert and update statements, with different combinations of columns that are being inserted and updated each time. It's likely that these different combinations are all valid (as in columns left out of particular combinations are null anyway) but all these different queries are filling up the shared sql area portion of the SGA - which will kill us eventually.

If I have to move away from using hibernate and hand code these inserts and updates then I will, but if there was some way to get hibernate to generate consistent inserts and updates for particular objects then that would be cool and save me a few days of coding.

Any help would be appreciated

Regards
Denis


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

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.