hi all!

curious about how child docs and performance interact.

i'll have a bunch of transactions coming in from various entities. i'm
debating nesting them all under a single, 'master' parent entity or to have
the parent and children be entity specific.

so either:

[platonic ideal parent item]
        child1: {entity1, tranx1}
        child2: {entity1, tranx2}
        child3: {entity2, tranx3}
        child4: {entity3, tranx4}

VS.

[entity1's parent item]
        child1: {tranx1}
        child2: {tranx2}
[entity2's parent item]
        child1: {tranx3}
[entity3's parent item]
        child1: {tranx4}

could be up to several hundred child docs per entity, though usually will
be double digits only (per entity), sometimes as low as < 10.

hope this makes sense. thanks for any insight!

best,
--
John Blythe

Reply via email to