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

[CQF] Adjust CE in cost model to account for RemoveOrphansRequirement

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2023-09-04

      When we are optimizing a group with RemoveOrphansRequirement = false, the logical CE which doesn't include orphans differs from the "physical CE" because at execution time, the plan fragment will encounter orphaned documents. To account for this discrepancy, this ticket will adjust the CE of such a group by a small "fudge factor" to account for these extra documents.

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: