Sign in
Log inSign up

MongoDB - is it good to soft delete stuff like users, their content or doing HARD delete improves performance?

Abhishek Pathak's photo
Abhishek Pathak
·May 19, 2019

Stuff like for example user created a question in a community. When he presses delete, should we .remove() the document or just update the isDelete status?

What are the benefits of either approach?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2025 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct