About cache

forum_thread

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 ...

 
release

2.2.2

... 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. ...

 
issue

Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: ... to fixed size of 100 bytes, keeping much more results in cache than allowed by the defined cache size. Please try build 2.2.7_02 that should fix it. About the ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... version-check="true" />   <processing cache="2048mb" max-threads="48" /> ... enabled="true" priority="40" />   <query-cache results="1024mb" programs="500" />   <extensions ... agent="false" reflection="warning" />   <cache ref="weak" level2="2048mb" /> ...

 
manual

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 ...

 
issue

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 ...

 
forum_thread

Wrong select results

Hello, I got a realy strange SELECT problem. In explorer query "select p  from Player p where p.confirmed==false", given me some results with p.confirmed==TRUE. And when I try to do (see image) "select p, p.confirmed  from Player p where p.confirmed==false", I getting p->confirmed->true and p.confirmed->false. How so? <odb v2.6.5_05> And this problem not only in explorer ... version-check="true" />   <processing cache="1024mb" max-threads="8" />   <query-cache results="1024mb" programs="500" />   <extensions ...

 
forum_thread

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 ...

 
api-jdo

javax.jdo.Transaction

The JDO Transaction interface provides for initiation and completion of transactions under user control.(Interface of JDO)

 
api-jdo

hashCode()

Return the cached hash code.(Method of javax.jdo.identity.SingleFieldIdentity)