500Mb ObjectDb database opening issue

Type: BugPriority: NormalStatus: DuplicateReplies: 1
#1

Hi,

I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code

long time = System.currentTimeMillis();

m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename );
m_EntityManager = m_EntityMgrFactory.createEntityManager();

LOGGER.info( String.format( "took [%d] ms", System.currentTimeMillis() - time ) );

Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database!

INFO : (AppDataStoreManager.java:277 thread:Thread-8): doOpenDataStore(): took [2583] ms

We gonna work with ObjectDb databases which may have size more than 5Gb and opening database time is very critical for us!

Harman Ltd.
#2

Closed as a duplicate of this forum thread.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login