• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CoreData: Enumerating through very large data sets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData: Enumerating through very large data sets?


  • Subject: CoreData: Enumerating through very large data sets?
  • From: Jim Correia <email@hidden>
  • Date: Mon, 13 Mar 2006 12:33:05 -0500

I have a CoreData store (SQL) which has grown organically to be quite large. (Some of the individual rows are also quite large.)

Executing a fetch request to retrieve all of the objects of a particular entity is now painful (both in time and space) since it pulls in all the attributes for each entity.

The documentation says that NSFetchRequest doesn't allow me to batch.

Is it possible to execute the fetch request, but get the objects as faults only?
Get all the object IDs for the objects of a particular entity?


Is there some other recommended way to to systematically enumerate all the instances of an entity when the working set is large? (My goal is to migrate the data to a different data model.)

Thanks,
Jim


_______________________________________________ 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
  • Prev by Date: Re: Newbie question on Methods
  • Next by Date: Re: Popup List Contains <MyObject 0x1234>
  • Previous by thread: Removing an NSURLConnection from the current runloop?
  • Next by thread: binding 101: controller does not notify?
  • Index(es):
    • Date
    • Thread