Chapter 7Bulk Changes
Over the years that Core Data has been in production, there have been a few complaints about the framework that struck home and were accurate. Easily the most well-known complaint relates to the ability to change a value in a large number of objects without requiring those objects to all be loaded into memory and then persisted back out to disk. The second largest, most well-known complaint relates to deleting a large number of objects. Again, the desire is to delete a large number of objects without having to load them into memory and then write back out to the persistent store again.
Both of these complaints only apply to the NSSQlite store. Since atomic stores such as the binary store require all of the data to be in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access