Using 1.7.7 version and trying to save an object which consists of 5
embedded and 3 linked objects apart from 30 properties.
Trying to save 10000 objects using document api, "remote" protocol is
taking 32 seconds and "plocal" is taking 8 seconds.
Applied the following performance tuning options.
-XX:+AggressiveOpts -XX:CompileThreshold=200 -Xmx800m -Dstorage.diskCache.
bufferSize=7200
OGlobalConfiguration.USE_WAL.setValue(false);
Profiled the code. All the time is taken by db.save(doc) call. Is this
expected or missing anything here?
db.declareIntent( new OIntentMassiveInsert());
ODocument doc = new ODocument(className);
for(Object entity: entities) {
doc.reset();
doc.setClassName(storeName);
doc = ConversionUtil.populateDocument(doc, entity, storeName,
excludeKeys);
results.add(db.save(doc)); // Takes 32 secs for 10000 records
remote protocol, plocal takes 8 seconds
}
Thanks
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.