About WRITE

forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... sync = "false" path = "$objectdb/" mode = "write" /> <locking version-check = "true" /> ...

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: #1 2016-04-23 09:55 Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create fir ...

 
release

2.3.2

... in criteria queries . Fixed a "Failed to write the value of field property" bug. Fixed a  ...

 
issue

Error reading UTF string (Serialized Objects in Explorer)

This is the message I get for attached db and this query: Bug Version: 2.3.6 Priority: Normal Status: Fixed Replies: 6 Type:  Bug ...

 
forum_thread

Embedded & Activation & Scalation

Hi there, Our app is highly scalable and can be distributed among multiple processes on multiple machines. ObjectDB Server is not really scalable right now and would be a SPOF for our application. So, we'd like to embedded odb into each instance instead for now and point each to the same database folder, however I've got a few questions I couldn't find answers for: ... always have a SPOF with odb server due the master-write only limitation. Is there a way to spawn multiple server instances ... Multiple processes cannot write to the same ObjectDB database concurrently. Future versions may remove ...

 
manual

[ODB1] Chapter 6 - Persistent Objects

Shows how to store, retrieve, update and delete database objects. ... When a JDOHelper.isDirty(obj) is true a WRITE lock is used and when it is false a READ lock is used. When the state ... to update the object lock (for example from READ to WRITE). Locks are released automatically when the transaction is ended because, ...

 
release

2.3.1

... in criteria queries . Fixed a "Failed to write the value of field property" bug. Fixed a  ...

 
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: ... sync = "false" path = "." mode = "write" /> <locking version-check = "true" /> ...

 
forum_thread

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type and run DB Doctor on the exiting DB file in order to update the schema. The fields are added to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached DB file is what was produced by DB Doctor after adding the emergency and broadcast fields. If you run in DB Explorer #1 2014-05-29 03:04 Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable typ ...

 
forum_thread

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... Oh well i got it after few minutes. Seems write in log is not immediate. Well, how can i check index existence so ...