Exactly
2015-03-12 18:03 GMT+01:00 Jeffrey Auguste <[email protected]>: > Ah, so I can create an edge class extended from E and it will still be > lightweight, Its when/if I add link properties to it, that it will then > become an edge document. > > On Thu, Mar 12, 2015 at 12:57 PM, Luigi Dell'Aquila < > [email protected]> wrote: > >> Yes, it's right, you can turn lightweight edges on in any moment. >> Actually to create a regular edge (instead of lightweight), defining a >> class for it is not enough, you just have to explicitly add a property to >> that. >> >> Luigi >> >> 2015-03-12 17:55 GMT+01:00 Jeffrey Auguste <[email protected]>: >> >>> So it seems that both can coexist. Is that true? So as long as I turn >>> the flag on, then unless I use a labeled edge or add a property to the >>> edge, it should create a lightweight edge. And if I find a case where I >>> would like a regular edge, I can just create an edge class to enforce it? >>> >>> >>> On Thursday, March 12, 2015 at 11:39:04 AM UTC-4, Jeffrey Auguste wrote: >>>> >>>> My understanding so far is that OrientDB has two type of Edges. Regular >>>> and Lightweight. The regular provides more flexibility and functionality at >>>> the cost of additional storage and performance. Its also my understanding >>>> that the lightweight edge is by default turned off with orientdb which >>>> makes it seem as though regular edges is the preferred over lightweight. >>>> >>>> So my questions are: >>>> 1. Is the difference in performance and/or storage significant with >>>> standard edges vs lightweight? If so, is it only affected in large >>>> databases? If so, what is considered Large? >>>> 2. The documentation states that Lightweight edges are hard to work >>>> with? If you agree, is it so difficult that you would question using them >>>> instead of regular edges? >>>> 3. Which do you prefer? In what situation would you switch to using the >>>> alternate edge to your preference? >>>> >>> -- >>> >>> --- >>> 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 a topic in the >> Google Groups "OrientDB" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/orient-database/VyxdX6-liT8/unsubscribe >> . >> To unsubscribe from this group and all its topics, 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]. > 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.
