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

[CQF] Remember chunk boundaries for the duration of the query

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2023-12-11, QO 2023-12-25, QO 2024-01-08, QO 2024-01-22

      We can remember the chunk starting points and keep them consistent for the duration of the query in the hope that this will achieve greater degree of stability and repeatability of the sampling process. Before we issue any sampling queries, we issue a “chunk collection” query. Using the example above, this query will return 5 record ids. We will then store those in a vector. We’ll modify the sampling query above to effectively replace the PhysicalScan with Limit 5 with a ValueScan node which will sequentially return record ids. The rest of the sampling plan remains unchanged.

            Assignee:
            david.percy@mongodb.com David Percy
            Reporter:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: