CoreData and pre-fetching/batch-faulting
CoreData and pre-fetching/batch-faulting
- Subject: CoreData and pre-fetching/batch-faulting
- From: Frank Illenberger <email@hidden>
- Date: Wed, 6 Jul 2005 09:14:08 +0200
Hi,
I am developing a CoreData application in which I have to use the SQL
file format. It implements a big tree structure. The problem is,
that because of this tree structure, CoreData performs tons of
unnecessary fetches for firing all the faults for the tree
relationships. Is there any recommended way for a developer to
implement a kind of pre-fetching/batch-faulting scheme that can
reduce the number of needed fetches?
Because of the sheer number of fetches, the opening of one of my sql-
based files containing about 200 objects from an AFP server via
AirportExpress takes about 10 seconds compared to half a second when
using the XML format. Sadly, the XML format is not an option for me.
I read the FAQ in which it is said that CoreData in contrast to EOF
does not support pre-fetching. But I wonder if I could be able to
nevertheless reduce the number of fetches somehow.
Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden