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

SQL: Introduce H2 LocalResult factory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • sql
    • 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tledkov-gridgain Taras Ledkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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