• 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, SQLLITE, and slow Array Operators
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data, SQLLITE, and slow Array Operators


  • Subject: Re: Core Data, SQLLITE, and slow Array Operators
  • From: Diederik Hoogenboom <email@hidden>
  • Date: Fri, 27 Oct 2006 09:08:48 +0200

Bill,

If you switch SQLLite debugging on ("-com.apple.CoreData.SQLDebug 1" argument on the executable) what queries give you the performance hit? Is it just one query or does the system tries to do 10,000 fetches?

Diederik

On 26-okt-2006, at 19:41, email@hidden wrote:

I have a relatively simple Core Data application that stores data in SQLLite format. Bindings are also used. Everything works fine except when I use any array operators on the data after the data have been read from disk. If I start with an empty data store, and populate it with about 1,000 records using NSEntityDescription insertNewObjectForEntityForName, the array operator calculations are performed almost instantly. If I then quit the app and reopen it so that the data are read back in, the same array operators on the same data takes about 45 minutes (yes, minutes) to calculate the same values. Why could possibly be slowing down the calculations of the array operators working on the exact same data? Any help would be appreciated.
Thanks,
Bill


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40obviousmatter.com


This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: Core Data, SQLLITE, and slow Array Operators
      • From: BK <email@hidden>
References: 
 >Core Data, SQLLITE, and slow Array Operators (From: email@hidden)

  • Prev by Date: Re: how to get an event (also name the event) when mac(universal i.e. or min 10.3.9 and above) wakes up from sleep mode
  • Next by Date: Re: Programmatically show NSPopUpButton menu?
  • Previous by thread: Core Data, SQLLITE, and slow Array Operators
  • Next by thread: Re: Core Data, SQLLITE, and slow Array Operators
  • Index(es):
    • Date
    • Thread