I would like to understand the practical trade-offs in YottaDB between storing a record as a single delimited value versus storing the same record using numbered subscripts.
Example A - Single node with delimited pieces:
^REC(id) = field1_$C(0)_field2_$C(0)_field3
Example B - Numbered subscripts:
^REC(id,1) = field1
^REC(id,2) = field2
^REC(id,3) = field3
Question:
From an internal and performance standpoint, how do these two approaches differ with respect to:
* Partial-field update costs (modifying only one field)
* Storage density
* Scanning efficiency
I am looking for insight into when one representation is preferable over the other, and why.
Thanks.