About Cache

release

2.2.4

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

 
forum_thread

Remove not working

Hello! We have a strange problem. ... notice that my transaction had deleted an object from the cache and it should therefore not include it in its list of objects.  ... for its iterator() object and perhaps does not respect the cache when using the Extent in a for-each statement.   ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! ... <temp path="Logs/cache/" threshold="1024mb" />   <network inactivity-timeout="0" ... version-check="false" />   <processing cache="64mb" max-threads="20" />   <query-cache results="64mb" programs="500" />   <extensions drop="temp,tmp" ...

 
forum_thread

Degrading performance overtime

hi, We have an application that uses embedded odb database. We have configured odb to start at 50meg chunks and grow at 50 megs a time. as the files become larger between 1 and 2 gigs we start to see considerable degrade in performance caused internal objectdb locking: ... = "true" /> <processing cache = "8mb" max-threads = "10" /> <query-cache results = "8mb" programs = "500" /> ... "false" reflection = "warning" /> <cache ref = "weak" level2 = "0" /> <persist ...

 
release

2.2.3

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

 
forum_thread

Which storage fits best to ObjectDB?

Hi, we are just about to put together a new server for our applications using ObjectDB (v 2.6). We have a dilemma about the storage holding the ObjectDB files: if to invest in a mirrored RAID of SSDs which is clearly the ultimate solution but it quite pricey, or to choose a RAID5/6 of 7200 RPM HDDs. ... file is small and cached completely (by ObjectDB or OS cache), SSD is expected to be faster, since it significantly reduces the seek ...

 
issue

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... = "true" /> <processing cache = "64mb" max-threads = "10" /> <query-cache results = "32mb" programs = "500" /> </database ...

 
forum_thread

Object as parameter results in exception

Hi,    I've got a simple JPA2 Criteria query which fails when doing an object equality. I verified this against EclipseLink and over there, it works. I'll Attach some code snippets to help figure it out:   @Entity() public class Product{ . . . @ManyToOne     private Compamy owningCompany; } @Entity() public class Company{    .    .    .     @Id    private Long id; } and the query: ... query has to be compiled every time and the query program cache cannot be used. Maybe ObjectDB should optimize such queries replacing ... execute the Criteria definitions. So ObjectDB would indeed cache this query the way it is? Please ignore my original post - the ...

 
forum_thread

How to track memory leak with ObjectDb.

Hello, I suspect some memory leak in my application. ( turning app into OOM very fast ) In fact, some com.objectdb.o.MST objects are retaining a huge % of my heap space. While watching the dump file ( with Eclipse MAT ), i was not able to inspect carrefully the memory leak issue. That's is very hard to debug because of obfuscated objectdb code. Well, objectdb is closed source, ok so ... but, in production case, how can a developper do his debug job correctly with your obfuscated code ? ... Might are they keeping MST objects or a kind of internal cache ? I don't know ... ... This shows the page cache. Its size in your example is not far from the default maximum (64MB), and ...

 
forum_thread

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: ... = "true" /> <processing cache = "64mb" max-threads = "10" /> <query-cache results = "32mb" programs = "500" /> ...