Hi!

  If you can separate between already processed objects and objects yet to be 
processed by using the same query you use to fetch the objects, you can set a 
balance point between performance (ie, number of DB hits) and memory footprint, 
by fetching a batch (of, say, 100 objects) at a time and process them, and 
repeat this until there's no further objects to process.

  Yours

Miguel Arroz

On 2010/03/22, at 21:23, Lon Varscsak wrote:

> I have a bunch of rows I need to do processing on and it would be create to 
> fetch EOs one by one from the result set instead of all of them at once.  I 
> know this is possible at the EOAccess level, but I didn't know if there was a 
> better/simpler way to do it (including something in WOnder).
> 
> Any thoughts?
> 
> Thanks,
> 
> Lon
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
> 
> This email sent to [email protected]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to