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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2023-12-11, QO 2023-12-25, QO 2024-01-08, QO 2024-01-22

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: