Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9171

Use lazy mode with results pre-fetch

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.8
    • Component/s: sql
    • Labels:

      Description

      Current implementation of the lazy mode always starts separate thread for MapQueryLazyWorker. It causes excessive overhead for requests that produces small results set.

      We have to begin execute query at the QUERY_POOL thread pool and fetch first page of the results. In case results set is bigger than one page MapQueryLazyWorker is started and link with MapNodeResults to handle next pages lazy.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tledkov-gridgain Taras Ledkov
                Reporter:
                tledkov-gridgain Taras Ledkov
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m