Hi Stefan, Starting from 2.0, only schema properties are managed in this way. All schema-less properties remain stored in the document.
Lvc@ On 22 October 2014 16:19, <[email protected]> wrote: > Hi, > > I have been following this for a while and the current status, as I > understand it, is that only declared fields avoid being duplicated. > > Adding any property/relation type without declaring it will be stored in > the same way as all property names were in the older version, > > This is an improvement but we are not "all the way there". > > Regards, > -Stefan > > On Wednesday, October 22, 2014 3:37:25 PM UTC, Riccardo Tasso wrote: >> >> Wow, I didn't noticed that change, it's nice! >> >> Riccardo >> >> 2014-10-22 16:03 GMT+02:00 Keith Freeman <[email protected]>: >> >>> In the current documentation under "Performance Tuning" it says: >>>> >>>> Keep field names short >>>> >>>> OrientDB is schema-less that means field names are stored with the >>>> values too. So if you call a field "out" instead of "outVertices" you saves >>>> 8 characters, namely 8 bytes per record. Applying this to millions of >>>> records allows you to save several Megabytes. >>>> >>> >>> However the blog entry for 2.0-M1 mentions >>> >>>> New Schema Driver Serialization: avoids writing field names for records >>>> with Schema >>>> >>> >>> This is a great improvement! So since we're using 2.0 going forward, >>> can we assume that all fields defined as properties in the schema for a >>> class will NOT be stored with the values? >>> >>> Also, does this apply to both mandatory and non-mandatory properties? >>> >>> Finally, is there any way to tell with console or studio if the field >>> names are being stored with each value? >>> >>> -- >>> >>> --- >>> 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. > -- --- 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.
