-->
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: Query cache intentionally left out of date
PostPosted: Thu Jul 15, 2010 7:52 pm 
Newbie

Joined: Thu Jul 15, 2010 7:46 pm
Posts: 2
So, I've got a huge stored procedure. Takes 20+ seconds to pull all sorts of counts about messages coming into the database that are all displayed on a single dashboard page. Obviously this time delay is unacceptable for the users.

I would love to use the hibernate query cache, but since messages are constantly coming in it would be constantly invalidating the cache and rerunning the query anyway. So, what if I don't mind if the query cache is out of date? Is there any way to turn off the UpdateTimestampsCache invalidation? Or, even better, use it as a way to tell how out of date the query cache is, but still pull the data out of the cache and not rerun the query?


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.