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

Database wide statistics summing up counts/size of all collections

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.3.3
    • 1.2.2
    • Shell
    • None
    • Nothing special

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: