• 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
Re: Core Data performance advice... creating relationships.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data performance advice... creating relationships.


  • Subject: Re: Core Data performance advice... creating relationships.
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 15 Jan 2008 10:31:52 -0500
  • Organization: Rogue Research

On 1/15/08 2:31 AM, Martin Linklater said:

>>That fetch request has to perform a full table scan for the instances
>>(not "entities") of Bar whose ID property equals x, because unless
>>you've told it to do so in your data model (and you're running
>>Leopard), it won't know to create an index on that property.
>
>BINGO. I set the ID attributes to be indexed and it's going MUCH faster
>now. Don't I feel like an idiot. Is this 'indexed' flag documented at
>all ? I've had a good look at the docs and it doesn't stand out to me...
>but I'm probalby missing something.

I think the 'indexed' flag is new in 10.5, and the docs are lagging.
The "Core Data Programming Guide" contains the word "indexed" once, and
it's got nothing to do with it.

<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
CoreData.pdf>

Anyone know of any docs on "indexed"?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Core Data performance advice... creating relationships.
      • From: mmalc crawford <email@hidden>
References: 
 >Core Data performance advice... creating relationships. (From: Martin Linklater <email@hidden>)
 >Re: Core Data performance advice... creating relationships. (From: Chris Hanson <email@hidden>)
 >Re: Core Data performance advice... creating relationships. (From: Martin Linklater <email@hidden>)

  • Prev by Date: NSTrackingArea, Pie charts and not rectangular areas
  • Next by Date: Re: Distributed Object validity
  • Previous by thread: Re: Core Data performance advice... creating relationships.
  • Next by thread: Re: Core Data performance advice... creating relationships.
  • Index(es):
    • Date
    • Thread