About cache

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

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

 
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

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

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

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

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

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

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