Hi,
I have a choice to store the data two ways. Which way is more
efficient when querying in BigTable?
First way:
class Page(db.Model):
pagekey= db.StringProperty(required=True)
usernames = db.StringListProperty(required=True)
So all the users who visits the page, will be added to the username
list
Second way:
class Page(db.Model):
pagekey= db.StringProperty(required=True)
username = db.StringProperty(required=True)
All the users who visits the page will have its own row
The query will be with both username and pagekey.
There can be a lot of users.
Is there a limit on the StringList size?
what are the advantages of each methods of storing data?
Thanks
Jon
--
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.