Optimize currentOp document source to reduce (re)allocations

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Resilience
    • CAR Team 2024-02-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have observed that the latency for $currentOp can be very high when the system is under memory pressure. Off-cpu analysis showed time is spend on the memory allocator, growing the BSON object builder buffer.

      We should minimise or eliminate memory reallocations.

            Assignee:
            Unassigned
            Reporter:
            Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: