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

show collections should include system.namespaces

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.5.6
    • None
    • None
    • ALL

    Description

      > db.stats()
      {
      "collections" : 3,
      "objects" : 10004,
      "avgObjSize" : 36.00479808076769,
      "dataSize" : 360192,
      "storageSize" : 791296,
      "numExtents" : 7,
      "indexes" : 1,
      "indexSize" : 425984,
      "fileSize" : 201326592,
      "ok" : 1
      }
      > show collections
      products
      system.indexes
      > db.getCollectionNames()
      [ "products", "system.indexes" ]

      show collections should include system.namespaces so that stats() is accurate.

      Attachments

        Activity

          People

            dwight@mongodb.com Dwight Merriman
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: