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!