Mongo DB Rename Database [5.1+] for sharded clusters
Answered
Now that rename database GUI button is a way to rename the mongo database, will it work on sharded cluster or only standalone DB instances
Now that rename database GUI button is a way to rename the mongo database, will it work on sharded cluster or only standalone DB instances
Not compatible with sharded collections.
The "Rename database" operation depends on MongoDB's renameCollection command. renameCollection is not compatible with sharded collections.
More about renameCollection, https://docs.mongodb.com/manual/reference/command/renameCollection/index.html
Not compatible with sharded collections.
The "Rename database" operation depends on MongoDB's renameCollection command. renameCollection is not compatible with sharded collections.
More about renameCollection, https://docs.mongodb.com/manual/reference/command/renameCollection/index.html
Thank you for quick response. I think users might find it useful if we can document the limitations of this option (rename).
Thank you for quick response. I think users might find it useful if we can document the limitations of this option (rename).
In the next release, we will add documentation information for this limitation
In the next release, we will add documentation information for this limitation
Replies have been locked on this page!