Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.6
-
None
-
Docs Required
Description
H2 collects query result at the instance of `LocalResult` for queries results that not be gathered lazy. This causes an OOME error on large result sets.
We have to introduce way to use our own implementation of the query result's container.
Suggestion fix:
- H2 simple refactoring: make `LocalResult` interface and H2 default implementation `LocalResultImpl`
- Add H2 configurable `LocalResultFactory` to setup custom implementation of the `LocalResult.
- Create Ignite implementation of `LocalResultFactory` & `LocalResult` to track allocated memory, swap results to external storage etc.
H2 issue: #1405
Attachments
Attachments
Issue Links
- is related to
-
IGNITE-9616 SQL: Introduce H2 factory for holder of aggregate result
- Open
- relates to
-
IGNITE-7526 SQL: Introduce memory region for reducer merge results with disk offload
- Closed
- links to
(1 links to)