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

SQL: Introduce H2 LocalResult factory

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tledkov-gridgain Taras Ledkov

            Dates

              Created:
              Updated:

              Time Tracking

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

                Slack

                  Issue deployment