size « Cache « JPA Q&A





1. Keeping persistence context cache size under control    forum.hibernate.org

Hi, I have several sets of objects from the database, each set up to 10,000 in size. E.g. a set of customers, a set of goods, a set of payments, etc. etc. The user is going to reload these sets with varying query parameters (all customers that haven't paid yet, all customers that live in an area, etc.) I have a ...

2. Too many cursor - Hibernate 1.2.3 - statement_cache.size=2    forum.hibernate.org

I saw the topic "cursors stay open when using session.iterate" but it's not the context of my application. My configuration : Hibernate 1.2.3 Oracle 9i (classes12.jar) Jdk 1.3.1 I try to keep the same session to retrieve a large amount of data. I use Iterate and Load methods on one session object and I have more than 300 opened cursors ( ...

3. Calculation of Cache Size    forum.hibernate.org

4. Is there a way to control session cache size?    forum.hibernate.org

5. Max Cache size on 32-bit Pentium on Linux    forum.hibernate.org

HI, I am using 32-bit Pentium based linux server having 12 GB of RAM installed. The JVM only provides a max of 1.6Gb heap. I have seen, in the Hibernate distribution there are various caches. Which cache should I use to take advantage of the RAM outside the JVM, and how to configure it ? Thanks.

6. Can I config the size of First Level(Session Scope) Cache?    forum.hibernate.org

I am using Java 1.4/1.5 with hibernate 2.1.8. And I wanted to some scheduled batch task. But I found that the performance drops very fast as the content in session cache keep growing. I have to flush()&clear() the session every 1000 loop. (There will be over 50k records will be processed each batch) Cache supposed to raise overall performance, but it ...

7. Collection cache size    forum.hibernate.org

When setting up collection caching using Ehcache 1.2.3 and Hibernate 3.2, how should I size my collection caches? Does hibernate store one foreign key per collection element, or one collection per cache element? Clearly, if a full collection is an element, the collection cache size should be about the number of entities I cache. If it's keys, the size should be ...

8. Cache size in QueryPlanCache    forum.hibernate.org

Hibernate version: 3.2.6 Hi, on a large application with many (currently 696) named queries in hbm files we have a performance issue with the QueryPlanCache cache size: the SoftLimitMRUCache used in the QueryPlanCache has 128 hard references, the other being soft references, and this number is hardcoded. As we have much more querries in the application, we spend much time in ...

9. L1 Cache size?    forum.hibernate.org