About connection

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: ... If you use embedded mode please check if the connection time to the database affects. If the database is closed before ...

 
forum_thread

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) #1 2011-10-04 20:50 First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-ho ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! ... ms Also checked to open DB without network connection (disabled local connection). Results below: 1 / 29 / 2016 19 : 03 ...

 
forum_thread

Index causes increased memory usage

Hello, #1 2012-05-10 20:52 Hello, In an effort to increase the speed of our queries with our embedded ObjectDB system, we configured ...

 
release

2.3.6

... ). Fixed handling ;drop in client-server connection url. Fixed performance issue ( fetch optimization ) ... Fixed Explorer bugs: editing embedded objects and using connection urls. Fixed a NullPointerException on using a ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... to OpenEJB that closed the EntityManager and moved its connection to the pool. Then to ObjectDB (on the just closed EntityManager ) that had to commit changes using the connection (which has already been moved to the pool and could be allocated to ...

 
issue

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted yet - it becomes persisted twice. This was demonstrated by a Java EE application in this forum thread but may be reproduced also in a simple console test case: ... ] args ) {   String $connection = "objectdb:db/test.tmp;drop" ; ... Persistence . createEntityManagerFactory ( $connection ) ; EntityManager em = emf. ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... the 3rd heap dump now. I had some trouble with the connection so its divided into a 4 part rar archive named java_pid5568.*.rar ...

 
forum_thread

ObjectDB Clustering VS Hadoop Hbase

The Hbase is an open source distributed database on Hadoop, it is robust regardless of the performance problem. The ObjectDB cluster may be a distributed database, I guess. But I dont know whether it has only one entry, or each node has an entry. Could you please explain the difference between Hbase and ObjectDB clustering? TIA   ... using composite urls the order of the urls defines the connection priority. No need to restart the master server to add a new slave since the configuration  of the master-slave connection is on the slave side only. ObjectDB Support ...

 
forum_thread

How to open a running db in ObjectDB Explorer?

Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in another location, start the application then finally I could explore my data, but it will be just a copy of the data, not the live information. ... file: <server > <connection port = "6136" max = "0" /> <data ... like: <server>     <connection port="6136" max="0" />     <data ...