Not any deeper. But a node can have a couple of thousand children in some 
cases. 
Query pattern is usually fetch all children for a parent.

Thanks,
Meghna

-----Original Message-----
From: Sargun Dhillon [mailto:[email protected]] 
Sent: Friday, April 11, 2014 10:25 AM
To: Sapre, Meghna A
Cc: [email protected]
Subject: Re: RIAK best practices for storage

How much deeper does your tree go? What's the average number of children a node 
has? What is your query pattern (fetch a parent, and all of its children?)?

On Fri, Apr 11, 2014 at 10:13 AM, Sapre, Meghna A <[email protected]> 
wrote:
> Hi all,
>
>   Most of my data is in parent-child format (1:n).
>
> For read/write performance, is it better to store parents in a 
> separate bucket and reference with IDs in children, or store complete 
> copies of parents within children?
>
>
>
> Thanks,
>
> Meghna
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to