I have entity1 which contains NSOrderedSet of entity2. Entity2 has 100 string fields.
I create managedObject of entity2 per/sec during 2-3 hours and add it to entity1. I can create some entity1 per/day. I do it everyday! I can't create their rarely(It is required).
So in one week my CoreDate dataBase will contains (7 * 3 or 4)21 or 28 managedObjects of entity1 which contains (21 * 2or3 *3600)226800 objects of entity2.
And each next operation(insert, remove, save) with coreData will more slowly than before.
How can I resolve this problem?
Aucun commentaire:
Enregistrer un commentaire