Re: [appengine-java] datastore.delete() not deleting objects and not generating exceptions

2011-12-11 Thread Michael
By what you wrote, I assume you're referring to the query speed, not the speed of the deletion. I presume that deleting an object or collection of object requires a time that's independent of other factors in the datastore; that is, once I know the object's key, deleting it takes an

Re: [appengine-java] datastore.delete() not deleting objects and not generating exceptions

2011-12-11 Thread Jeff Schnitzer
Yeah, if you're doing a delete by previously-known key I would expect constant time operation. I have no idea what might be causing your issue, sorry. Jeff On Sun, Dec 11, 2011 at 4:26 PM, Michael michael.ol...@gmail.com wrote: By what you wrote, I assume you're referring to the query speed,

Re: [appengine-java] datastore.delete() not deleting objects and not generating exceptions

2011-12-10 Thread Jeff Schnitzer
I haven't looked too closely at your problem, but one thing that has come up before on this list is that it's a bad idea to do things like this: repeat { delete N items; } Basically, deleting items just flags them as deleted in the underlying store. They are vacuumed up later. So if you