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

Allow specifying profile entry and currentOp max query size

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.10
    • Component/s: Querying
    • 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 Unassigned
            Reporter:
            alonho Alon Horev
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: