probably at the beach
probably at the beach

Reputation: 15207

Google Appengine large amount of index data (python)

We've just outgrown our free data usage quota in AppEngine which is great but looking at our data breakup, only 200M of the 1G is actual data / meta-data (still can't believe they pin you for that one) and the rest I assume is indexes from reading the help forums. Does anyone know if this is normal and if not are there any good tips to reduce the size of the indexed data?

Cheers, Richard

Upvotes: 0

Views: 332

Answers (1)

Matic
Matic

Reputation: 484

Depends on what you are storing in it. We've got 32GB of String/Integer/Text data, 181GB of indexes/meta-data and 812GB of blobs (we are storing a lot of small images). So it really depends on your queries and settings.

You can run

   appcfg.py vacuum_indexes .

to vacum indexes (remove unused stuff).

GAE automatically creates simple indexes for all properties, but you can disable them by adding

    indexed=False

on the property. See http://code.google.com/appengine/docs/python/datastore/propertyclass.html

Upvotes: 3

Related Questions