Hello.

I'm going to import large graph in new OrientB 1.7
I use plocal db-type and next piece of code for import.


   g = new OrientGraphNoTx(dbURL);
                try { 
                                g.getRawGraph().declareIntent(new 
OIntentMassiveInsert());
                                
OGlobalConfiguration.STORAGE_KEEP_OPEN.setValue(false);
                                
OGlobalConfiguration.TX_USE_LOG.setValue(false);
                                
OGlobalConfiguration.ENVIRONMENT_CONCURRENT.setValue(false);

                                //graph.getRawGraph().declareIntent(new 
OIntentMassiveInsert());
                                g.getRawGraph().declareIntent(new 
OIntentMassiveInsert());
                                GraphMLReader.inputGraph(g, graphname, 
1000000, null, null, null);
                                        
                                



Is it right way or code should be improved?


-- 

--- 
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/groups/opt_out.

Reply via email to