About performance



The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.(Interface of JDO)


UserException: Invalid configuration in 'internal' - Check permissions

Hi all,   I have a master/slave code so that each slave reads a subset of points of the same database. ObjectDB entities do not allow serialization and so I have sent, to each slave, the file path. With such information I have tried to create an entityManager, in each slave, as follows: EntityManagerFatory entityManagerFactory = Persistence.createEntityManagerFactory(filePath); EntityManager = entityManagerFactory.createEntityManager(); However I get the following error ... me I would be very grateful. I would like to compare the performance of SQL and NoSQL in some data mining experiments.   ...


Speed of queries that return many objects

Hi, I have a DB of 146MB - with 1_000_000 elements. Loading the contents (objectDB query in java) takes about 10sec. I am using a recent MacBook (SSD blabla - disk I/O speed is about 400MB/sec - according to blackMagicTest app for mac) - so I was expecting the query to take less than one sec (146/400 = 0.35sec.. + some overhead). I was wondering if this kind of speed is "normal", or if this is something I should investigate. Thanks EKK ... I have the same issue - slow performance on the Mac. Latest JDK 1.8 , and newest Mac Attached is the ...


Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: ... I tried the test with JDK 1.5 and had the performance problem as you described. The problem is indeed in running ... Agreed - I've split the entity and performance is much improved and consistent. Thanks for your help with it! ...


Criteria Query results in a NoResultException instead of returning object

When I run the following code    ... that converts literals to implicit parameters (to improve performance and to make using entity objects in queries easier). Please ...


InternalException when using MEMBER OF on a large list in a query

Hello, we get when executing a query with MEMBER OF on a large list the following InternalException: Caused by: com.objectdb.o.InternalException: merge2 com.btc.ep.coverage.bl.internal.dmos.CoverageRecordImpl:null => merger[2850057]-missing:223 at com.objectdb.o.PBI.B(PBI.java:124) at com.objectdb.o.PBI.q(PBI.jave:97) at com.objectdb.o.OBI.Vp(OBI.java:244) (... more see attached Image) Our query looks like this: ... you recommend something else? Finally, how much performance improvement would bring a switch to a single long? ...


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. ... but still, invocation of clear slightly improves performance. ObjectDB Support ObjectDB - Fast ...


Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database. New entity objects can be stored in the database either explicitly by invoking the persist persist(entity) EntityManager's method Make an instance managed and persistent. See JavaDoc Reference Page... method or ...



Hello, we got this exception when using ObjectDB: ... We would like to avoid using synchronized="true" due to performance reason. I am going to run the stress tests with recommended ...


Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: ... However, enhanced classes are much more efficient in performance and in memory consumption, so it is highly recommended to use only ...