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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.2, mongodb-2.6
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      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().

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

              Created:
              Updated:
              Resolved:
              10 years, 7 weeks ago