I wan't able to perform a relevant benchmark since PersistenceManager.deletePersistentAll() with 500 rows usually took more than 30 sec's. Also, I can't really ignore the fetch time so I ended up doing many many smaller "delete by query"
I must say delete is highly expensive (cpu) and slow in GAE, I really think you guys should come up with an alternative solution for a cheap delete. Perhaps allowing us to control when the index rebuild should occur by the api. Thanks On Feb 25, 2:43 am, "Ikai L (Google)" <ika...@google.com> wrote: > I'm not certain there's a big benefit either way, as you still have to > remove all the indexes related to the entities. What have your benchmarks > reported? > > > > > > On Wed, Feb 17, 2010 at 12:06 PM, Shai <levys...@gmail.com> wrote: > > Hi > > > When I delete entities by query am I limited to 500 entities like when > > I am using PersistenceManager.deletePersistentAll() ? > > > Also, if we ignore the object fetch time -> what would consume less > > CPU time ? > > > Can someone estimate if making many "delete" queries of smaller > > amounts of data would be better than getting all the data to for a big > > pm.deletePersistentAll() opertaion ? > > > Thanks, > > Shai > > > -- > > 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-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B > > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App > Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine -- 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-j...@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.