BlobInfoFactory.queryBlobInfos(). Iterate on the BlobInfo returned and try to find the blobkey references in your entity store. If you can't, it is safe to delete that blob.
If the blobkey reference field in your entities is not indexed, you'll have to do a full scan of your datastore entities. I don't know how many you have but, if you deleted 7000, I will assume you have many thousands entities to scan. You'll probably need to use the task api (or the mapreduce library, see http://ikaisays.com/2010/07/09/using-the-java-mapper-framework-for-app-engine/) to get around the 30 seconds limit. On Mar 19, 1:14 am, Gaurav <ano...@gmail.com> wrote: > Hi, > > I deleted a large number of objects from the datastore that I din't > required (around 7000 of them). > Each of those objects had a blob associated with it, referenced by a > String (blob key). > As you might have guessed by now, I forgot to delete those blobs. > > Now I don't have any reference to them, but I want to delete them. > I can't seem to find a way to do that. > > Any help will be appreciated. -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.