Besides your entities' data, the datastore also stores indexes which are not counted in the "Size of all entities".
Say you have a model: MyModel(db.Model): property0 = db.StringProperty() property1 = db.StringProperty() ... property9 = db.StringProperty() Suppose each of the properties contains about 20 bytes, kind is 7 bytes, and key is about 30 bytes(it can be as many as 500 bytes), so your entity is kind + key + serialized entity(maybe little than properties' value) = 7 + 30 + 20 * 10 = 237. You also have a kind index: kind + key = 7 + 30 = 37. And every single property's index: kind + property names + property values = 7 + 9 + 20 = 36, the 10 single-property indexes is 360 bytes. You may also have list property, and every item in the list will be indexed. You can also define composite indexes... So the stored data can be much more than 237 bytes for each entity. If you don't need to query on some properties, remember to use db.StringProperty(**indexed=False**). 2009/11/27 Ustas <[email protected]>: > i have 2 different information about Stored Data value: > - on a Dashboard, in quota information i see "1% 0.33 of 41.00 > GBytes" > - on s Statistics, i see "Size of all entities" - 29 MBytes. > > 29 MB looks like closer to reality. > Could you please explain me why in Quota Details it says about 330 MB > of size? > > Also, just caught 4 hrs ago: it was not 0.33, but 0.54 on a dashboard. > Why it is so? > > Thank you for any help or advice. > > -- > > 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. > > > -- 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.
