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

Clarify whether system.profile.op includes distinct and count

      The system.profile.op section lists distinct and count as possible values. However, the actual output from MongoDB 2.6 up to MongoDB 3.4 shows:

      > db.system.profile.find()
      {
        "op": "command",
        "ns": "test.test",
        "command": {
          "distinct": "test",
          "key": "a",
          "query": {
          ...
      

      which shows that distinct is a command op, and not an op in its own right. This is also the case with count.

      The current op list seems to be changed in DOCS-7700. Can this list be verified to be correct?

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.adistambha@mongodb.com Kevin Adistambha
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              1 year, 24 weeks, 3 days ago