You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2018/08/02 15:17:00 UTC
[jira] [Created] (IGNITE-9171) Use lazy mode with results pre-fetch
Taras Ledkov created IGNITE-9171:
------------------------------------
Summary: Use lazy mode with results pre-fetch
Key: IGNITE-9171
URL: https://issues.apache.org/jira/browse/IGNITE-9171
Project: Ignite
Issue Type: Improvement
Components: sql
Affects Versions: 2.6
Reporter: Taras Ledkov
Assignee: Taras Ledkov
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)