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

Show original queries in currentOp or database profiler

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Environment:
      any
    • Query

      Some queries show up as "getmore" in currentOp or the database profile logs. I believe the slow logs might contain the original query with the cursor id, but even then, the original could be removed from the capped collection.

      It would be nice if currentOp and the database profiler would keep a copy of the query as a comment somehow.

      The issue is, make it easy to know what is going on in detail with currentOp or the logs so an amateur can figure out easily what is happening to mongod.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            marknospamplease Mark
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: