Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2920

Comment on db.upgradeCheck() and db.upgradeCheckAllDbs()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.2, mongodb-2.6
    • None
    • manual
    • None

    Description

      http://docs.mongodb.org/master/reference/method/db.upgradeCheck/
      http://docs.mongodb.org/master/reference/method/db.upgradeCheckAllDbs/

      1. Clarify the performance impact to run db.upgradeCheck() and db.upgradeCheckAllDbs()
        db.upgradeCheck() and db.upgradeCheckAllDbs() validates all the document in the given collections. This looks like a collection scan, and might affect the performance on a production environment. If it is true, can you add this warning in the document?
      2. If it is a sharded cluster/replica set, it would be nice to document which nodes we should run db.upgradeCheck() or db.upgradeCheckAllDbs().

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            linda.qin@mongodb.com Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 47 weeks, 6 days ago