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

Use lazy mode with results pre-fetch

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.6
    • 2.8
    • sql

    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

              tledkov-gridgain Taras Ledkov
              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