Friday, January 20, 2012

Vacuum Old Indexes

http://stackoverflow.com/questions/813839/how-can-i-remove-unused-indexes-in-google-application-engine

Deleting Unused Indexes

...

When you are sure that old indexes are no longer needed, you can delete them from App Engine using the vacuum_indexes action:

./appengine-java-sdk/bin/appcfg.sh vacuum_indexes myapp/war
This command deletes all indexes for the app that are not mentioned in the local versions of datastore-indexes.xml and generated/datastore-indexes-auto.xml.

No comments:

Post a Comment