• 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 model optimization? (slow on insert with fetches)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData model optimization? (slow on insert with fetches)


  • Subject: Re: CoreData model optimization? (slow on insert with fetches)
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 2 Oct 2007 11:28:44 -0400

> Why?

  Missing information: What specifically is slow? What are you
fetching that is slow? How ***EXACTLY*** are you fetching it? Are you
sure you're not doing something to cause it to be fetched multiple
times? These details directly affect performance and you've left them
all out for some reason.

  Suggestions: Read back over the Core Data Programming Guide and the
Key-Value Coding Programming Guide. The former so you can better
understand how things work and the latter so you can name things a
little better (your attribute names are bizarre).

   Regarding overall design of your model, Mail deals with "Message".
A message may belong to a thread (and may be sorted by thread) but a
message is still a message. I would think separating out "Subject" as
a separate entity would only cost you more work, not less.

  How about you describe the *basic*, plain-English model you're
dealing with (rather than the "optimized" version you posted)? It'd
make it easier to make suggestions.

--
I.S.
_______________________________________________

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

References: 
 >CoreData model optimization? (slow on insert with fetches) (From: "Hell's KItchen Hell's KItchen" <email@hidden>)

  • Prev by Date: Just-in-time debugging / CrashReporterPrefs
  • Next by Date: Re: What should be the same object doesn't seem to be
  • Previous by thread: CoreData model optimization? (slow on insert with fetches)
  • Next by thread: Fwd: CoreData model optimization? (slow on insert with fetches)
  • Index(es):
    • Date
    • Thread