thank you. can you tell me what size will it be after supplying the 'indexed=False' argument?
1/2, 1/4, or 3/4? On 5月18日, 下午9时05分, "Nick Johnson (Google)" <nick.john...@google.com> wrote: > HiSaintthor, > > 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/18saintthor<saintt...@gmail.com>: > > > > > 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 google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---