About cache


Setting and Tuning of JPA Queries

Explains various JPA query settings - result range, flush and lock.... no content). This could be useful when the shared L2 cache is enabled and entity objects may already be available in the cache. Setting Query Hint (Scopes) Query hints can be set ...


Performance Questions...

Greetings ObjectDB team, All below questions assume a very large database (~1,000,000,000 objects) Q1: Two queries with a big overlap between their result sets. If I query the first and hold them in memory somehow, would that speed up the execution of the second query since many of its result objects already created and reside in memory ? Q2: Do I need to manually use strong references to such cached result objects ? or do ObjectDB exploits frequency of querying such objects and keep them in memory longer automatically somehow before GC takes place ?... of the EntityManager's persistence context (L1) cache. But otherwise read only databases are not faster. Future versions of ObjectDB might share an L1 cache of read only entity managers automatically. Even though ObjectDB ...


Monitoring and Performance counters

After checking last patch from build 2.1.1_01, I started to think about some kind o monitoring tools in ODB. Those tools could look similar to MySQL 'show innodb status', where you can get some informations about how DB is doing. It would be nice to monitor: - inserts/s, updates/s, deletes/s, reads/s - total inserts, update, deletes, reads - I/O operations/s - caches current usage - uptime from last start - caches hit rate - total sessions from clients Feature Request Version: 2.5.2 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...


Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... = "true" /> <processing cache = "64mb" max-threads = "8" /> <query-cache results = "32mb" programs = "500" /> ... "false" reflection = "warning" /> <cache ref = "weak" level2 = "0" /> <persist ...



... Fixed the behavior of CacheStoreMode setting in L2 shared cache. Fixed  TreeSet and TreeMap  element ... in a new ancestor class. Fixed a query cache bug. Fixed several bugs in query processing and running. ...


Internal exception when quering

Hello, following exception occurs when quering objectdb: ... JpaQuery. java : 686 ) at com. ysoft . cache . objectdb . ObjectCacheDB . search ( ObjectCacheDB. java : 522 ) at com. ysoft . cache . objectdb . ObjectCacheDB . search ( ObjectCacheDB. java ...



Annotation for defining the persistence of a member.(Annotation of JDO)



Caching is enabled for all entities for Cacheable(true) is specified.(Enum Constant of javax.persistence.SharedCacheMode)



Returns the specification of how the provider must use a second-level cache for the persistence unit.(Method of javax.persistence.spi.PersistenceUnitInfo)



Return the DataStoreCache that this factory uses for controlling a second-level cache.(Method of javax.jdo.PersistenceManagerFactory)