every entity requires two writes, plus, every indexABLE value requires two writes.
https://developers.google.com/appengine/docs/python/datastore/entities#Python_Understanding_write_costs On Wednesday, December 26, 2012 10:44:18 PM UTC-6, John Patterson wrote: > > > > On Thursday, 27 December 2012 01:27:47 UTC+13, aschmid wrote: >> >> 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). >> > > > Unindexed properties do not cost anything to write. They are included in > the one write operation that writes the entity data. Basically, all > properties are serialised and written as a single opaque unit. It costs no > more to write 1000 unindexed properties as 1 - however the latency to read > and write will be higher which will cost you in terms of instance hours. > > An indexed property costs 2 writes because each index (ASC, DESC) is > a separate write. > > >> >> > vlad UNEXISTING props do not add any write cost ;) >> >> > What do you mean by UNEXISTING? Be careful here because null values will > also cost 2 writes if they are indexed. > > Twig (prob also Objectify) can be configured store null values as indexed > or not indexed (also or stored or not stored) while still storing non-null > values. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
