Disclaimer: i am very new on GAE/J

I have a single persistent object class (10 fields of type int/String/
date) for which i removed indexing on all fields except the PK which
is a string (these objects are around 60 bytes if serialized in
protobuf so pretty small).

Now i run into a request timeout issue trying to delete all objects
(around 1000) in the db:

        PersistenceManager pm = PMF.get().getPersistenceManager();
        String query = "select from " + SomeJDO.class.getName();
        pm.newQuery(query).deletePersistentAll();
        pm.close();

I get timeout report for the request and the log gives: 30915ms
31202cpu_ms 19302api_cpu_ms.

My project is no more than a toy application and a deleting 1000
vanilla rows does not seem much even on a desktop database.

What am i doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to