Hi, I think that there is variously method. I guess this covers the question
http://groups.google.com/group/google-appengine-java/browse_thread/thread/77421e08fcb42a9a/ http://groups.google.com/group/google-appengine-java/browse_thread/thread/ba5de74a507d0f9e/ http://groups.google.com/group/google-appengine-java/browse_thread/thread/28cf5dd91ee099a0/ It might be ..the other... Please try. thanks. > I had an data model Agent and stored around 230,000+ records. I want > to delete all the data together. How would I do that. > > Query q = pm.newQuery(Agent.Class); > q.deletePersistentAll(); > > The application is timing out with a > > google.appengine.runtime.DeadlineExceededError. > > On the otherhand if I try to delete one at a time, it is taking long > time to delete the records one by one. What is the best way to delete > all the records from the Datastore. > > Thanks. > > Regards, > Kannaiyan > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
