Skip to main content

EXPRESS_DELETE

Short Description

Optimized delete operation

Detailed Description​

EXPRESS_DELETE is an execution stage in MongoDB (introduced in version 8.0) that represents an optimized path for delete operations.

Simple explanation:

When you see EXPRESS_DELETE in an explain plan, it means MongoDB was able to very quickly and efficiently process your delete operation by recognizing it as a simple delete that matches certain criteria. For these cases, MongoDB skips much of the normal query planning, using a highly optimized "express" plan to process the deletes.

Key points:

  • EXPRES S_DELETE is part of the "EXPRESS" family of execution stages, used for fast, direct operations.
  • This stage allows MongoDB to delete documents with minimal overhead when the query meets specific, simple conditions.
  • You don't need to change your queries to use this; MongoDB chooses this optimization automatically if your delete matches the pattern.

Summary:

EXPRESS_DELETE means MongoDB handled your delete operation in the fastest way possible, using a shortcut in the execution engine for maximum efficiency.

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.