ObjectDB ObjectDB

Issue #1793: 500Mb ObjectDb database opening issue

Type: Bug ReoprtPriority: 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!

edit
delete
#2

Closed as a duplicate of this forum thread.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.