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

In runCommand( "top" ) when running dbn.collection.distinct("column") not increments queries counter in collection data

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.0.2
    • Admin
    • None
    • Windows 64bit
    • Query
    • ALL

    Description

      1. when running db.collection.distinct("column") not increments queries counter in collection data (runCommand( "top" ).totals["dbn.collection"]) ,
      but in dbn (runCommand( "top" ).totals["dbn"])
      When I run "top" on index it's almost empty, why?
      It's not clear what operations going to dbname.
      In my case it's for sure it have to be in collection or index.

      2. Also explain() function doesn't work with distinct.
      In my case I have index on "column", so I hope it work with index - it would

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            leonid.neizberg@quest.com Leonid Neizberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: