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

Profile whether the memory usage check in the $percentile accumulator is a problem

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Integration

    Description

      Currently, the check is done on each input, which isn't really necessary as all our memory usage is a "best effort" estimation and the limits are usually in terms of MB while the changes in usage are likely to be in bytes.

      If asking for memory usage shows up in profiles, consider:

      1. doing it less frequently
      2. reporting the memory stats from the "incorporate" calls (and do whatever optimizations possible on the side of the algorithm implementation)

      Attachments

        Activity

          People

            backlog-query-integration Backlog - Query Integration
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: