• 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: CoreData Indexing is it possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData Indexing is it possible?


  • Subject: Re: CoreData Indexing is it possible?
  • From: Diederik Hoogenboom <email@hidden>
  • Date: Mon, 17 Sep 2007 19:49:26 +0200

It is possible to add a index using the Model Designer: create an attribute key called "_NSCreateIndex" without a value for the attribute for which you want the index to be created.

Some remarks:

- Inserts and saves might become slower as the index has be to maintained.
- Don't expect noticeable improvements for data sets under 200k objects.


 Kind regards,

Diederik

--
Diederik Hoogenboom
Obvious Matter - DiskLibrary for Mac
http://www.obviousmatter.com



On 17-sep-2007, at 12:58, Alexey Zakhlestin wrote:

well, if you use sqlite as a coredata backend, that is certainly
possible to do (at least by using sqlite-native calls, not sure if
coredata has native interface for that)

On 9/16/07, Giovanni Donelli <email@hidden> wrote:
Dear Cocoa Gurus, first I have to say that Core Data is awesome :-)

When I took my Comp. Science class about database they taught me that by
building an index on a specific table attribute the search can
be dramatically speeded up (if the search involves that attribute).


Is there a way to do the same think with a core data database? I have a
table with 10 attributes, but the user can search only by using one. It
would be great to optimize the table for the retrieval of that specific
attribute. Is that possible?


Thank you!

Giovanni Donelli
_______________________________________________

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



--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/
_______________________________________________

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:
40obviousmatter.com


This email sent to email@hidden


_______________________________________________

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: CoreData Indexing is it possible?
      • From: "Giovanni Donelli" <email@hidden>
References: 
 >CoreData Indexing is it possible? (From: "Giovanni Donelli" <email@hidden>)
 >Re: CoreData Indexing is it possible? (From: "Alexey Zakhlestin" <email@hidden>)

  • Prev by Date: Re: Capturing the right display, but rendering to the wrong one.
  • Next by Date: CURL and Connection limits
  • Previous by thread: Re: CoreData Indexing is it possible?
  • Next by thread: Re: CoreData Indexing is it possible?
  • Index(es):
    • Date
    • Thread