Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-596

Database wide statistics summing up counts/size of all collections

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.3
    • Affects Version/s: 1.2.2
    • Component/s: Shell
    • None
    • Environment:
      Nothing special

      Instead of looping over all collections and call db.foo.stats() it would be great to have a function to retrieve the total number of objects of all collections, the number of collections and probably the netto/brutto (storage) size they consume.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            nschmuck Niko Schmuck
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: