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

Add serverStatus metric that reveals impact of arrays

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 4.3.2
    • Diagnostics, Querying
    • Query Execution

    Description

      1. Large arrays within documents have performance costs that are currently indirectly inferred from the behavior of wiredTiger's cache page management.

      Since BSON does not encode array size (in elements), this could be a counter like "array elements visited" or (if that is deemed too expensive), it could be a counter that increments by the total byte size of each array (which is included in the BSON) when it is iterated through for any reason.

      Combined with opcounters and scannedObjects (docsExamined), either of these would dramatically improve the ability to diagnose array iteration as impacting the system.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            eric.sedor@mongodb.com Eric Sedor
            Votes:
            1 Vote for this issue
            Watchers:
            19 Start watching this issue

            Dates

              Created:
              Updated: