About performance

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! ... closeDataStore(): Close Pa3 datastore Yes, performance was improved on second opening database, but we just moved long ...

 
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} ... for some references we keep a reference on both sides (for performance reasons) - some of these references are broken when we ...

 
issue

Use temporary files to enable very large transactions

We have transactions in which many objects are created. These objects are no longer needed in the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb.com/database/forum/921 on post #4 you wrote, that ObjectDB should support very large transactions in further version. Can you implement it that ObjectDB used temporary files? Bug Version: 1.04 Priority: Critical Status: Fixed Replies: 27 Type:  Bug ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec?... is not compatible with the RI enhancer) to provide better performance (e.g. objects are written and read using the new Enhancer in one ...

 
forum_thread

Searching lists within objects

Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. ... - I can help you with setting indexes to improve the performance of these queries. by the way, you can use unqualified class ...

 
manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... such as Hibernate, using property access may have some performance benefits. This is not the case with ObjectDB. Therefore, ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. #1 2017-08-10 13:35 Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem w ...

 
forum_thread

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. ... that just switching to string primary keys provides performance boost of x20. If you can change your test case to ...

 
issue

Enhanced classes problem

Hell, we have problem with the OEM enhancement licencing. When we used runtime licencing using machine activation code, everything works fine. But when we enhanced our classes with OEM licence, following errors occurs: ... to work, but we have question regarding the impact on performance in case this option is disabled? We wíll provide you ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... files will be used and that may decrease the application performance. Alternatively, you may also try reducing concurrent memory ...