Re: Core Data: different fetch performance when launching app
Re: Core Data: different fetch performance when launching app
- Subject: Re: Core Data: different fetch performance when launching app
- From: Diederik Hoogenboom <email@hidden>
- Date: Sat, 14 Oct 2006 09:36:35 +0200
Total records in the store is about 30,000. There are relationships
as well. Everything is bound to an arraycontroller and
treecontroller. The entity StorageItem it is querying is the
superclass of all the entities.
StorageItem has a tree structure; it point to itself via a
relationship called 'items'. There is also an inverse called
parentItem. There is a subclass of StorageItem called Catalog which
objects are the top objects of the trees (and have some additional
properties). When the app starts it displays (NSTableView for the
Catalog objects and NSOutlineView for the related (items
relationship) StorageItem objects). It should only query all Catalog
objects (about 10 records) and the first level of the StorageItems
(about 12 records), right? It doesn't have to go through the whole
object graph I guess.
Diederik
On 14-okt-2006, at 2:52, Scott Stevenson wrote:
On Oct 13, 2006, at 5:57 AM, Diederik Hoogenboom wrote:
That would make sense if it was a really large SQLLite file. The
file is only 1,5 MB. 12 seconds is a really long time in SQLLite
terms.
How many records are there?
- Scott
_______________________________________________
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