Comment on Google App Engine's Datastore Admin is Terribly InefficientparentComments−theli0nheart14yRegardless of how decent Google's AppEngine documentation is, this is indeed a bug.The correct behavior would be to recalculate the indices just once, instead of reindexing after every single delete operation.It then becomes 2*entities + 2*indexed property values + composite index values operations to delete all entities in the datastore, instead of 2*entities + 2*entities*indexed property values + entities*composite index values operations.−tantalor14yTo delete all entities should be free. Who cares about indexes? `rm -rf`, done.
Comments
Regardless of how decent Google's AppEngine documentation is, this is indeed a bug.
The correct behavior would be to recalculate the indices just once, instead of reindexing after every single delete operation.
It then becomes
operations to delete all entities in the datastore, instead of operations.To delete all entities should be free. Who cares about indexes? `rm -rf`, done.