Hi all, Let's say I have two entities Parent and Child. There could be many children in one parent (from hundreds to tens of millions) A child can only belong to one Parent.
Typical queries are: -Fetch all children from a single parent -Find a few children by their keys or values from a single parent -Update a single child by child key and it's parent key And there are no cross-parent queries. I am trying to figure out what is better schema approach from performance/maintenance perspective: 1. One table with one Parent per row. Row key is a parent id. Children are stored in a single family each under separate qualifier (child id). Would it even work assuming all children may not fit in memory? 2. One table. Compound row key parent id/child id. One child per row. 3. Many tables - one per parent. Row key is a child id. Thanks!
