Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Currently when iterating over rows we eagerly materialize them [1]. If key or value are large enough, we could loose a lot of time on offheap-heap copying. To partially mitigate this, we can do the following:
1) Add new flag SqlQuery.localNoCopy which is applicable only for local queries.
2) When enabled we will not copy final _KEY and _VAL columns to heap. but rather wrap them into BinaryOffheapObjectImpl
3) These rows must be released when query iterator switches to the next row.
[1] H2RowFactory.getRow
Attachments
Issue Links
- is related to
-
IGNITE-7173 SQL: implement optional row cache
- Resolved