About Data Source

forum_thread

Entity Update - Is the documentation up to date?

I'm working on my first ObjectDB project, and I just went back and reviewed some of the documentation.  Turns out I've been doing two things that http://www.objectdb.com/java/jpa/persistence/update suggests should not work. First, I've been modifying managed entities from outside an active transaction.  If I subsequently begin and commit a transaction, all my changes seem to be merged automatically. ... (e.g. ArrayList ) over arrays except for storing data (such as images) in byte[] . Enhancement is usually more ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
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: ... "6000" max = "100" /> <data path = "$objectdb/db" /> <replication ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
issue

again merger missing logs + objectdb exception

we are facing similar problems as we had before, in the log we have a lot of entries merger ... missing + an objectdb exception. Some objects in the system behave strange. This is a part of the log: ... [2017-09-26 12:16:14 #1222 store] SectionClassifier: SectionClassifier{238146996->merger[3309]-missing:1} [2017-09-26 12:16:25 #1223 store] SectionClassifier: SectionClassifier{238146996->merger[3309]-missing:1} ... at java.lang.Thread.run(Unknown Source) edit ... at java.lang.Thread.run(Unknown Source) edit ... query failed during reading of indexes rather than primary data and no corruption is currently found in indexes in the provided database ...

 
forum_thread

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA ... Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the following hierarchy: ... That object is expected to be filled with real Profile data from the database (e.g. when accessing the Profile ), but if the ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
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: ... <connection port="6136" max="100" />   <data path="$objectdb/db" />         ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
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: ... = "xxxx" max = "100" /> <data path = "/opt/tomcat7/xxx" /> <!-- <replication ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. ... ObjectDB for possible use in one of our smart grid data data collection product. ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

100% CPU when using multiple BETWEEN

Hi, we are evaluating ObjectDB 2.5.1_03 in embedded mode. We have a DB of about 2800 instances of a class that has two java.lang.String members: toExtension and fromExtension. There are other members in the class, but not relevant to the problem.   A query like this cause the java process to start running at 100% CPU (endless loop) and it never recovers: ... SystemDB.zip. We created much smaller file with the same data. The problem is still present with the smaller DB file. Emil ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

Slow searching with two indexes

I'm running queries on a large database (tens of millions of objects), and I'm running into a performance problem using two indexes.  An entity I'm querying has two indexed fields - one is the primary key (id) and so is different for each object, and the other is an object reference that only has a few tens of different values.   When I query by just the primary key, it's (of course) extremely fast, but when I also query using the other key, queries can take minutes.... query purely with the new index with no need for further data retrieval. Another option that can be checked is running the ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...