Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Engine: How to "reset" the datastore?

Well, I'm developing in App Engine (Java) and after a lot of tries and deployments, I need to reset the datastore. There is a lot of random data I added to test performance, and besides that the entities changed a lot, so I need to delete all: data, tables, indexes.

How can I do that?

like image 316
Damian Avatar asked Jul 20 '09 17:07

Damian


1 Answers

Sorry to wake this thread up, but just in case I'd like to add a tip for noobs like me (finally found the answer in google documentation) :

If you want to reset the Local datastore (for example while developping using eclipse) all at once, shut down the server, find the file 'local_db.bin' in your project (should be in the WEB-INF/appengine-generated/ directory), and delete it.

Works fine with java, didn't try with python yet.

++

like image 62
Kohistan Avatar answered Sep 24 '22 13:09

Kohistan