Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine index costs

From what I've understood, App Engine indexes are costly both in terms of increased overall storage size and by slowing down your writes.

But do indexes only cost when they're actually used in queries and are explicitly defined in index.yaml? Or do properties such as StringProperty cost more than their non-indexed counterpart (e.g. TextProperty) simply by existing, even though they're not used in index.yaml?

like image 996
Aneon Avatar asked Dec 28 '22 09:12

Aneon


1 Answers

You could also set indexed=False for properties which you don't want indexed:

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

like image 136
Saxon Druce Avatar answered Jan 12 '23 03:01

Saxon Druce