Re: Core Data, SQLLITE, and slow Array Operators
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