Hi Pedro,

On Wed, Oct 14, 2009 at 9:14 AM, Pedro Morais <[email protected]>wrote:

>
> Hi,
>
> I'm just looking at the datastore statistics for my apps, and I have
> some questions.
>
>  * What does the "metadata" stand for? The docs (http://
> code.google.com/intl/pt-PT/appengine/kb/
> adminconsole.html#datastore_stats) say:
>       "The Metadata property type represents space consumed by
> storing properties inside an entry that is not used by the properties
> directly."
>   I can't understand what this means, could you give an example?
>

You're right - this is not very clearly worded.

Entities are stored encoded as Protocol Buffers. The 'metadata' is the total
size of the encoded Protocol Buffer, less the size of the values of the
individual properties. Every property carries a few bytes of Protocol Buffer
overhead, so entities with more, smaller properties will tend to have higher
metadata overhead.


>   In the "contact-birthdays" app metadata accounts for 92% of the
> storage, so I want to understand if I'm doing something wrong.
>
>  * Are the indexes not included in the stats? In "contact-birthdays"
> my "size of all entities" is 410 Mb (so, since metadata is 92% actual
> "useful" size is 33Mb), but on the quotas page I see that I'm using
> 1.29 Gb.
>

That's correct.

-Nick Johnson


>
> BTW "contact-birthdays" is a Python app.
>
> Thanks,
> Pedro Morais
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~---------~--~----~------------~-------~--~----~
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