Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: planned but not scheduled
    • Component/s: Usability
    • Labels:
      None

      Description

      Having the ability to rename databases would be nice. That would allow things like cloning a database with straight file copies plus a rename (to avoid having to wait on index builds when using db.copyDatabase).

        Activity

        Hide
        mobafill Alex Kotenko added a comment -

        Upvoted. I need to rename two databases right now, due to early project mistakes that now causing terms confusion. And seems like there is no easy way to do that.

        Show
        mobafill Alex Kotenko added a comment - Upvoted. I need to rename two databases right now, due to early project mistakes that now causing terms confusion. And seems like there is no easy way to do that.
        Hide
        sunnybg Svetoslav Milenov added a comment -

        How many votes are enough for this to be considered?

        Show
        sunnybg Svetoslav Milenov added a comment - How many votes are enough for this to be considered?
        Hide
        andrey.hohutkin@gmail.com Andrey Hohutkin added a comment -

        It is urgent feature. Extremely needed for DB maintenance.

        Show
        andrey.hohutkin@gmail.com Andrey Hohutkin added a comment - It is urgent feature. Extremely needed for DB maintenance.
        Hide
        mobafill Alex Kotenko added a comment -

        I'm writing again here (already upvoted) to confirm that we still need this. I've managed to rename one problematic database and it was a real pain to do that. I will not dare to do this on the second one as it's few terabytes large and it will take ages.
        A way to easily rename databases regardless of it's size is urgently required.

        Philosophy of NoSQL in general and MongoDB particularly is about moving quickly without thorough long-term planning, allowing early mistakes and allowing to easily fix them later when you know what your architecture actually is. Not being able to easily fix database naming is not only a nuisance and a bugger, it's a major system inconsistency and goes across Mongo's "Flexible Data Model" mission statement. Being unable to rename database is not a flexible data model.

        Show
        mobafill Alex Kotenko added a comment - I'm writing again here (already upvoted) to confirm that we still need this. I've managed to rename one problematic database and it was a real pain to do that. I will not dare to do this on the second one as it's few terabytes large and it will take ages. A way to easily rename databases regardless of it's size is urgently required. Philosophy of NoSQL in general and MongoDB particularly is about moving quickly without thorough long-term planning, allowing early mistakes and allowing to easily fix them later when you know what your architecture actually is. Not being able to easily fix database naming is not only a nuisance and a bugger, it's a major system inconsistency and goes across Mongo's "Flexible Data Model" mission statement. Being unable to rename database is not a flexible data model.
        Hide
        legel Lance Legel added a comment -

        Pretty ridiculous that a simple functionality like this is not provided...

        Show
        legel Lance Legel added a comment - Pretty ridiculous that a simple functionality like this is not provided...

          Dates

          • Created:
            Updated:
            Days since reply:
            3 weeks, 1 day ago
            Date of 1st Reply: