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

Lazily construct sort value only when the sorter decides to store the value

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2023-02-06

      Construct this MaterializedRow only when the sorter decides to store the value in the sort limit case.

      Preliminary perf:
      https://performance-analyzer.server-tig.prod.corp.mongodb.com/perf-analyzer-viz/?evergreen_version=63c533be3627e07856339268&evergreen_base_version=performance_550e070c93e80bdb4f256dd634128ad919395eb0&metrics_selection=Latency99thPercentile||ops_per_sec||Latency50thPercentile||OperationThroughput||tpmC||NewOrders||Duration||average_read_latency_us||95th_read_latency_us||99th_read_latency_us&determination_filter=Improved&percent_filter=0||100&variant_filter=linux-wt-standalone-sbe&z_filter=0||10

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            rui.liu@mongodb.com Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: