2. • Store big files (>1MB) externally
• Store intermediate files (>=100kb < 1MB) in a relationship.
• Store small files (<100kb) internally
• Entity inheritance can be a performance hinderance
• Search properties can be helpful
• Follow object model
• Separate commonly used data form the rest
3. • Retrieve NSManagedObjectIDs and retrieve properties from that
[fetchRequest setResultType:NSManagedObjectIDResultType];
• Retrieve only property values
• Use batch sizes
• Prefetch relationships
• Perform fetches on background thread