About resize

manual

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

 
forum_thread

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

 
forum_thread

internal object DB locking in an embedded multi threaded application

Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked and when doing a threaddump we notice that they are all blocked in the same place: ... are: <size initial = "256kb" resize = "256kb" page = "2kb" /> ... > <size initial = "500mb" resize = "500mb" page = "2kb" /> <recovery enabled ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... > <size initial = "10mb" resize = "10mb" page = "2kb" /> <recovery enabled ... > <size initial = "10mb" resize = "10mb" page = "2kb" /> <recovery enabled ...

 
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: ... > <size initial = "51200kb" resize = "51200kb" page = "2kb" /> <recovery ... The stack trace indicates a delay during database file resize: at java. io . RandomAccessFile . setLength ( Native ...

 
forum_thread

Database(*.odb) file size on disk

Hello, we have questions about the file size of ObjectDB database on disk. Can you tell us something about how the deleting of entities affects the size of *.odb files on disk? -Will the released memory always used by new entities? -Will be the database file automatically reduced?   We have created a small test, in which we create and delete entities. It looks like that the released memory are reused but the the file not resized. The database is at the end empty again, but larger than the initial size. #1 2016-07-15 10:06 Hello, we have questions about the file size of ObjectDB database on disk. Can you tell us something ...

 
forum_thread

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb;user=admin;password=password Thank you in advance. ... <size initial = "256kb" resize = "256kb" page = "2kb" / > ... <size initial = "256kb" resize = "256kb" page = "2kb" / > ...

 
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 ... <database>   <size initial="1024kb" resize="1024kb" page="64kb" />   <recovery enabled="true" ...

 
forum_thread

Shrinking Database Files

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I thought I read something on the ObjectDB website (forum? 1.x manual?), which I cannot find now, that stated that the datastore file never shrinks when large number of objects are deleted and the only way to reclaim that space would be with Database Doctor. Is there a way to reclaim database file space? #1 2016-07-25 16:13 These are questions asked in the context of the proposed architecture described in the forum thread titled, "Samp ...

 
forum_thread

Bug when posting threads with Firefox 34.0.5

... m(){a.dialog.on('resize',function(n){var ...