Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Guest
Created on Oct 12, 2021

Rename an existing index

Allow for the possibility of renaming an existing index, without having to drop and recreate it. Let us say a unique index exists in production, it might not be possible to safely drop it. Yet the index name might not be ideal.
  • Stefanos Kapsoritakis
    Mar 24, 2026

    +1. If the option of renaming an existing index causes other knock-on effects, please provide a way to replace it by for example being able to replace it. For example, the index that will replace the existing one, can be built in the back, can do its checks and everything in between and once its fully ready to use, it replaces the existing index.

  • Guest
    Dec 23, 2021
    +1 on this. Would like to add friendlier names for existing index so they can be used to "hint". Having to re-create index is not efficient