Partial statistics pipeline

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2022-07-25, QO 2022-08-08, QO 2022-08-22, QO 2022-09-05, QO 2022-09-19, QO 2022-10-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Generate an internal SBE command for statistics analysis which runs the equivalent of 

       

       

      db.coll.aggregate( [
         { $project: {val : path} },
         { $_analyzeInternal: {} },
         { $merge: ... }
      ]);
      

       
      _analyzeInternal will be implemented in a follow-on ticket. For now it can simply consume values and emit an empty document at the end of the stream.

      The $merge is to replace (or insert) the value in the stats collection with the newly calculated value. Note that this requires a unique index on "path" which should be workable.

              Assignee:
              Misha Tyulenev (Inactive)
              Reporter:
              Joel Redman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: