Hi Saintthor, Every single field of your model is indexed, so the total size will include index entries for all these fields. Any composite indexes will also influence the total size. If some of them do not require indexing, you can supply the 'indexed=False' argument to the property constructor. Note that you will have to re-put existing entities to see any change in data size.
Also, be wary of extrapolating the results from 4000 entities to much larger volumes. The space consumption you experience now may not be representative of the eventual size. -Nick Johnson 2009/5/18 saintthor <[email protected]>: > > my model is: > > class jUser( db.Model ): > '''用户存储结构''' > UserID = db.StringProperty() > UserName = db.StringProperty() > UserEmail = db.StringProperty() > UserPassword = db.StringProperty() > lockuser = db.StringProperty() > UserQuesion = db.StringProperty() > UserAnswer = db.StringProperty() > JoinDate = db.DateTimeProperty() > lastlogin = db.DateTimeProperty() > UserData = db.StringListProperty() #with 8 short strings in > > I created about 4000 entities, and they take me 10M bytes. 2.5K for > every entity? why so large? > > in access mdb file, the records with same data take less than 2M. > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
