Batch Processing

Use batch processes to manage large data changes.

Topics

Data Updates

class NSBatchUpdateRequest

A request to Core Data to do a batch update of data in a persistent store without loading any data into memory.

class NSBatchUpdateResult

The result returned when executing a batch update request.

Data Deletion

class NSBatchDeleteRequest

A request to Core Data to do a batch delete of data in a persistent store without loading any data into memory.

class NSBatchDeleteResult

The result returned when executing a batch delete request.

See Also

Background Tasks

Using Core Data in the Background

Use Core Data in both a single-threaded and multithreaded app.

Loading and Displaying a Large Data Feed

Consume data in the background, and lower memory usage by batching imports and preventing duplicate records in the Core Data store.

Conflict Resolution

Detect and resolve conflicts that occur when data is changed on multiple threads.