If I use OrientGraphNoTx (as recommended) does begin/commit have sense at all?
On Friday, 24 October 2014 16:12:08 UTC+2, Enrico Risa wrote: > > Yes it is correct > > i have a similar importer. 50 edges per seconds are too low > seems strange > > Can you try to use the OrientGraph and commit every 1000 entries? > > you can use graph.begin() > > and graph.commit() > > to handle the transaction > > > > 2014-10-24 15:51 GMT+02:00 BojanV <[email protected] <javascript:>>: > >> Yes, I declare it in this way, I hope it is correct >> >> OrientGraphNoTx graph = new >> OrientGraphNoTx("plocal:D:/orientdb/atlas"); >> graph.getRawGraph().declareIntent(new OIntentMassiveInsert()); >> >> >> >> On Friday, 24 October 2014 15:49:45 UTC+2, Enrico Risa wrote: >>> >>> Do you use the Massive Insert intent ? >>> >>> 2014-10-24 15:43 GMT+02:00 BojanV <[email protected]>: >>> >>>> This answer is when I am working import from Javacode: >>>> >>>> It differs - if my vertices are all in default class then around 50 >>>> edges per second, If my vertices are in different classes then inserting >>>> is >>>> slower - around 30. If I use OrientGraphNoTx instead of OrientGraph things >>>> are little bit faster but still not good enough. I posted one version of >>>> my >>>> code a few posts above. (Note: my machine is pretty good, and I didn't do >>>> any additional configuring of OriendDB - I just downloaded it and used it >>>> ) >>>> >>>> >>>> >>>> >>>> On Friday, 24 October 2014 15:34:51 UTC+2, Enrico Risa wrote: >>>>> >>>>> >>>>> How many edges per seconds do you write? >>>>> >>>>> >>>>> Il giorno venerdì 24 ottobre 2014 14:36:25 UTC+2, BojanV ha scritto: >>>>>> >>>>>> No comments on this? >>>>>> >>>>>> Is there any configuration tweaks to be done to speed up things? >>>>>> >>>>> -- >>>> >>>> --- >>>> 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. >>>> >>> >>> -- >> >> --- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- 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.
