Hi Markus, we improved management of Set of links, so moving on 1.7 would improve your performance without changing your code.
Lvc@ On 20 February 2014 10:59, Markus Menner <[email protected]>wrote: > Hi guys, > > I'm using 1.6.3 with the ObjectDatabase. > > I observe a performance decrease related to Sets, which are associated to > a PoJo. > > Let's say I have to PoJos called A and B, where a contains an association > (1:n) to B, which is implemented as a Set. > > If you (with a surrounding transaction) add Bs (one each time) to the Set > inside a and save that in a loop, saving initially takes some few > milliseconds. However that time increases rapidly, such that after adding > and saving a few 1000s of Bs, the time will be like several 100 ms. > Considering that I "only" add one B to the Set inside A per transaction, > the time increases exponentially. > > Now, I know that with 1.7 a lot has been done to increase the speed > related to edge insertion, etc. > > Is my observation something I should forget about and move to 1.7, or is > it something that might be an issue? > > Thanks, > Markus > > > -- > > --- > 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. > -- --- 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.
