-->
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: Strange issue while using Hibernate with database partitions
PostPosted: Mon Nov 22, 2010 5:17 pm 
Newbie

Joined: Fri Sep 19, 2008 6:59 am
Posts: 6
Hi,

I am using Hibernate with Spring and have come across this strange problem.

There is a table A which was not partitioned before.

However to optimize certain queries, it was partitioned on one of the columns.

With this change, other queries which do not use the partitioning on the view over the table seem to become slow...

The strange part is that these queries which do not use the partitioning columns seem to be slow only when executed from Hibernate and seem to be very fast when executed from a SQL client like SQLPlus or TOAD.

Is it expected? What are the reasons for it? What can be done to avoid it?

Thank you

Rahul

_________________
Rahul


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.