even if a property is not indexed is needs to be written to the datastore so it 
costs 1 write instead of 2 (one to the datastore and one to the index).
a list property adds 1 write per item for example + another one for each one if 
they are indexed.

vlad UNEXISTING props do not add any write cost ;)

On Dec 23, 2012, at 2:45 PM, vlad <[email protected]> wrote:

> My understanding is UNINDEXED properties add no write cost at all. See 
> https://developers.google.com/appengine/docs/python/datastore/entities#Understanding_Write_Costs
> 
> 
> On Friday, December 21, 2012 1:29:26 PM UTC-8, Ryan Chazen wrote:
> Hi - I find the following a bit confusing - is it correct?
> 
> Using unindexed properties only:
> 
> If I write 10 numbers in a list to the datastore, _ah/admin on the local dev 
> server shows 10 write operations.
> If I write 10 numbers inside an embedded entity (or comma delimited), the 
> local dev server shows 1 write operation.
> 
> Since billing is by write operations, is using the list 10x more expensive in 
> reality? If so, I need to make sure all of my unindexed properties get put 
> into an embedded entity first before writing as it will mean I only use 1 
> write op for all unindexed properties...
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/CGmpJvoIF_EJ.
> 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.

Reply via email to