Hi,

I have a question regarding the best method of storing a complex
object which may grow to be very large in size.

I have an object 'BaseObject' which has a field of type
List<SubObject>. I wish to add many SubObject's to BaseObjects,
perhaps millions. When querying a SubObject I will first retrieve the
BaseObject and then perform a query on its list of SubObjects to find
the objects I need.

Now, is it a good idea to store objects in this way? I.e. having a
BaseObject which comprises an enormous list of SubObjects?


Another method of doing this would be to take the relational database
approach and have a BaseObject and SubObjects table where SubObjects
reference BaseObjects via an ID. However, I would really like to
maintain an object approach.

What are your views on this? Any feedback would be greatly
appreciated.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to