Skip to content Skip to sidebar Skip to footer

Too Many Write Ops

I'm developing a directory app on app-engine (python) and I've run into trouble with too many write ops. The first issue is that I have a .NET script that goes through an excel fil

Solution 1:

Unless you target a property in a search (or use it for ordering), making them unindexed saves index writes. Each property is indexed twice (once ascending, once descending) unless either the property type is inherently unindexed, or you set indexed=False.

See http://code.google.com/appengine/docs/python/datastore/propertyclass.html#Property

In your case, if street_search is a normalized form of street used for searching, then marking street as indexed=False will save 2 writes.


Post a Comment for "Too Many Write Ops"