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

Update with $set of many array elements can be super slow to apply

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.5.3
    • Component/s: Querying
    • Labels:
      None
    • Query
    • ALL
    • Hide

      ./mongo o.js

      Show
      ./mongo o.js

      See attached repro. I ran VTune on it and it seems to be 50% in FieldRefSet::insert and 50% in pathsupport::findLongestPrefix; see attached screenshot for details.

        1. o.js
          2.61 MB
        2. Screenshot_20170303_161455.png
          Screenshot_20170303_161455.png
          105 kB

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: