-->
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: Cache collection performance
PostPosted: Tue Mar 06, 2007 1:55 pm 
Newbie

Joined: Tue Mar 06, 2007 12:36 pm
Posts: 1
Hibernate version: 3.0

Name and version of the database you are using: Sybase 12.5

SecondLevelCache Ehcache 1.2.4

CPU/Memory Intel P4 2.8Ghz / 1GB


I'm not sure if I'm alone in this but I'm experiencing pretty slow performance rebuilding object graphs from the Query Cache.

The resultset consists of 5000 parent objects each containing a collection of ~ 40 child objects. The initial query takes around 30 seconds to fetch both parents and children.

However, subsequent runs of the query are using the query and second level caches and are taking 6-8 seconds to return. Is this kind of performance considered acceptable for this volume of data when it's already in memory?

My CPU performance during the fetch from cache is ~ 50% and I still have lots of memory available.


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.