Db open over a minute in spring boot


#1

when this code is executed inside spring boot application it takes 84 seconds

long ts = System.currentTimeMillis();
orient = new OrientDB(“remote:”+dbserver, OrientDBConfig.defaultConfig());
db = orient.open(dbName, “admin”, “password”);
logger.log(Level.INFO,"opened db took "+(System.currentTimeMillis()-ts));

when the same code is executed in a simple test class in the same project it takes 1.5 seconds

any one have a clue as to why this is the case?


#2

I was able to resolve this by bumping the orientdb-client version to 3.0.12