Performance Tuning Blueprints - aemadrid/orientdb GitHub Wiki
Guide to improve performance of TinkerPop Blueprints Graph Database
<wiki:toc max_depth="4" />
This guide is specific for the TinkerPop Blueprints Graph Database. Please be sure to read the generic guide to the Performance-Tuning.
Massive Insertion
See Generic improvement on massive insertion.
Transaction mode
By default Blueprints API works with the Transaction mode setted to AUTOMATIC that means every single operation begins and commits a transaction. This could be VERY expensive and unnecessary. By setting the property blueprints.graph.txMode to 1 the default Transaction mode is MANUAL: every single operation will be stored immediately to the disk avoiding the more expensive Transaction context. Example:
java ... -Dblueprints.graph.txMode=1 ...
or
OGlobalConfiguration.BLUEPRINTS_TX_MODE.setValue(1);