About Data Source

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

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

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

 
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

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

 
tutorial

Step 3: Define a Spring DAO Component

Explains how to define a JPA DAO component (bean) in an Eclipse Spring MVC JPA web application project.... on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC ... Now replace the content of the new source file with the following code: package guest ; ...

 
forum_thread

object creation during pmf.getPersistenceManager()

Hi ... read from file via deserialization, file has size 2MB. The data model is legacy and in default constructors it create also a lot of ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... including a few weeks against a copy of the production data, without incident. The problems only occurred after running on the ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
api-jdo

getSource()

The source object of the Event.(Method of javax.jdo.listener.InstanceLifecycleEvent)