I'm using core data of NSSqliteStoreType to store data in my iOS app. I need to store large amount of objects into database. To improve performance of Core data, I'm considering So many Considerations like 1. Saving Batch wise 2. Saving only after for loop ends 3. Clearing Context to manage Memory
But it is taking so much time to save one 1 lakh objects. Please suggest me best practices to improve Performance of Core data while saving large amounts of data.
Aucun commentaire:
Enregistrer un commentaire