Allow specifying profile entry and currentOp max query size

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.10
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When debugging long running queries, they're often too big and don't appear in db.currentOp():

      "query" :

      { "$msg" : "query not recording (too large)" }

      ,

      Additionally, they don't appear in system.profile:

      "err" : "profile line too large (max is 100KB)",

      This makes it impossible for us to understand what's hammering the database.

      It would be nice to have a parameter similar to profiling level. something like profile size.

      I don't mind adding it myself (including tests) but my last pull request was practically ignored.

              Assignee:
              Unassigned
              Reporter:
              Alon Horev
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: