Skip to main content

BATCHED_DELETE

Short Description

Multiple document deletions that are batched together internally

Detailed Description​

BATCHED_DELETE in a MongoDB explain plan means that MongoDB is deleting multiple documents in groups (batches), rather than removing each document one by one. This stage was introduced to improve the efficiency of delete operations, especially when removing many documents at once.

In simple terms:

When you see BATCHED_DELETE, MongoDB is handling several deletions together in a batch, which makes the delete process faster and more efficient for large data removals. This is commonly used for background processes such as TTL index cleanup, but can also appear during explicit bulk deletes.

Search online​

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.