Hi,
Better to use https://gist.github.com/laa/9b097dd940f2c56e05fe

Looking forward for your results.


On Fri, Feb 7, 2014 at 1:47 PM, Никита Волков <alarmw...@gmail.com> wrote:

> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to