I'm currently storing entities of a particular kind (e.g.
TrafficHits).  I would like to begin removing older entities (e.g.
older than a month), but would like to calculate summary statistics on
these records before deleting them.

What's the recommended approach for this (I'm using Java JDO)?

1) Perform a query to retrieve entities older than a month.  Loop
through records and calculate stats.  Delete entities using a delete
query with same where clause.  This seems somewhat inefficient.

2) A mapreduce job?

Any help would be appreciated.

Thanks,
J

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to