• 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: Indexed Attributes in Core Data (was Validating unique objects)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indexed Attributes in Core Data (was Validating unique objects)


  • Subject: Re: Indexed Attributes in Core Data (was Validating unique objects)
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 12 Feb 2010 20:01:05 -0800

On 2010 Feb 12, at 19:06, Roland King wrote:

> http://cocoawithlove.com/2008/03/testing-core-data-with-very-big.html

> This guy was working on sets of 1 million objects and doing fetches with indexed properties was taking about 2 seconds, vs non-indexed, 600 seconds.

Damn.  I never knew that Core Data supported indexes in its sqlite databases.  There is no mention of it in the Core Data Programming Guide (searched pdf for 'index').  And I had to read Matt Gallagher's blog post three times before I finally found this teeny tiny tidbit:

   "using the checkbox in the XCode Data Model editor"

I opened a model and, sure enough, there it was.  I must have seen that hundreds of times and never realized what it was for.

Back to the original topic, malcolm should try this with his uuid.

_______________________________________________

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: Indexed Attributes in Core Data (was Validating unique objects)
      • From: Roland King <email@hidden>
References: 
 >Validating unique objects in CoreData (From: malcom <email@hidden>)
 >Re: Validating unique objects in CoreData (From: Roland King <email@hidden>)
 >Re: Validating unique objects in CoreData (From: "Sean McBride" <email@hidden>)
 >Re: Validating unique objects in CoreData (From: malcom <email@hidden>)
 >Re: Validating unique objects in CoreData (From: Roland King <email@hidden>)

  • Prev by Date: Re: Validating unique objects in CoreData
  • Next by Date: Re: Indexed Attributes in Core Data (was Validating unique objects)
  • Previous by thread: Re: Validating unique objects in CoreData
  • Next by thread: Re: Indexed Attributes in Core Data (was Validating unique objects)
  • Index(es):
    • Date
    • Thread