cache « Performance « JPA Q&A





1. Hibernate: Query cache never used    stackoverflow.com

During performing some performance tuning in my application I have noticed, that hibernate query cache is never used. I am quite sure I have it properly set up:

  • hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
  • hibernate.cache.use_query_cache=true
  • I use setCacheable(true) on queries ...

2. Query Cache performance -- any progress?    forum.hibernate.org

In Hibernate 2.1.2 QueryKey.hashCode() there is a comment about the method being "very inefficient". I want to cache a few hundred queries that vary mostly by value. But because QueryKey.hashCode() only computes hash on the query string and not the values, I'm finding the performance to be much worse than going straight to the database. My query use case is just ...

3. Hibernate Cache and Performance Questions    forum.hibernate.org

Newbie Joined: Wed Oct 20, 2004 3:53 pm Posts: 1 Hi, All We have a middleware runing on TOMCAT and Oracle9i database. We have 2 servlets - producer and consumer servlet. The Producer servlet receives a XML file from client and instantialize an object then call our java class to build prepared statement to save into database. The Consumer servlet receives ...

4. Query Cache Performance (with OSCache)    forum.hibernate.org

Hibernate version: 2.1.8 Name and version of the database you are using: Oracle 10g In order to attempt to see some performance gains in part of an application which is performing a lot queries, I turned on L2 Caching. Since the application test suite uses more than one session factory, I gave up on EhCache, which doesn't handle multiple buildsessionfactory calls ...

5. Cache and Performance Monitoring    forum.hibernate.org