79657952

Date: 2025-06-08 15:25:44
Score: 1.5
Natty:
Report link

Yes, MongoDB does update index entries when documents are deleted, ensuring they are removed. However, the physical size of the index files on disk does not shrink automatically—freed space remains available for reuse, which can make the index size appear unchanged. To reclaim disk space, you need to run maintenance operations like compact or rebuild the indexes manually.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: FranckPachot