About resize
Database Management Settings
Explains settings and performance tuning of the ObjectDB Java object database for JPA/JDO.... > <size initial = "256kb" resize = "256kb" page = "2kb" /> <recovery enabled ... element <size initial = "256kb" resize = "256kb" page = "2kb" /> The <size> ...
Occasionally slow requests in load testing
We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are quite a few "spikes" in the performance where we are getting a lot of very slow response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack trace examples. ... database file resizing. In the test run yesterday we had resize amount set to default 256kb. We had another test run today and I've ... resizing - if we run a db for a while with the default resize setting, can we increase it later on? Will changing it have any ill ...
Activation Issue
Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the activation key. I took that key as per the instructions, added it to the objectdb.conf inside the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting the evaluation license restriction message again at compile time (which was I was seeing before putting the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf with the activation key, but get the same behaviour. ... > <size initial = "256kb" resize = "256kb" page = "2kb" /> <recovery enabled ...
Optimistic lock failed
Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl ... > <size initial = "256kb" resize = "256kb" page = "2kb" /> <recovery ...
Replaying recorded requests...
Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file: Questions: 1) Why am I seeing this if I've set recording enabled to false? 2) I... > <size initial = "256kb" resize = "256kb" page = "2kb" /> <recovery ...
Sort of very large objects - out of memory
The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... > <size initial = "256kb" resize = "256kb" page = "2kb" /> <recovery enabled ...
Connection is closed Caused by: java.io.EOFException
I am getting this exception on a regular basis, after a period of time of repeating the same code execution. I don't understand why. I restart the DB server and my code works again for another period of time until same exception is encountered again. I cannot pin down a pattern e.g. after a certain period of time, because the time periods between exceptions are not regular, although frequent. Any test case I use will pass most of the time but will fail after an undetermined period. ... > <size initial = "256kb" resize = "256kb" page = "2kb" /> <recovery enabled ...
in-memory and on-disk support?
I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in memory represents the first 40GB of the 800GB on-disk for super-fast recent entry searching, the records at the end continuously purge as the new ones come in(duplicate write, one to in-memory and one to on-disk). ... element as follows: <size initial="800000mb" resize="0kb" page="2kb" /> Or would that result in excessive query ...
Failed to commit transaction: Attempt to commit a rollback only transaction
Anyone know what this means?? Suddenly cropped up. Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) ... <database> <size initial="256kb" resize="256kb" page="2kb" /> <recovery enabled="true" ...
The server cannot start in CentOS
Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... > <size initial = "256kb" resize = "256kb" page = "2kb" /> <recovery enabled ...