Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1956

SPARQL UPDATE should use a SolutionSetStream backed by native memory for DELETE/INSERT+WHERE to avoid OOM

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: BLAZEGRAPH_2_2_0
    • Component/s: SPARQL UPDATE
    • Labels:
      None

      Description

      SPARQL UPDATE currently runs the query into a MutableTupleQueryResult and then replays it for both the DELETE and the INSERT aspect of a DELETE/INSERT+WHERE query. This ensures proper isolation of the query and the mutation. However, this means that large result sets can be materialized on the Java heap.

      This ticket is to replace the use of the MutableTupleQueryResult with a SolutionSetStream backed by the native heap (memstore).

        Issue Links

          Activity

          bryanthompson bryanthompson created issue -
          bryanthompson bryanthompson made changes -
          Field Original Value New Value
          Fix Version/s BLAZEGRAPH_2_2_0 [ 10302 ]
          bryanthompson bryanthompson made changes -
          Assignee Brad Bebee [ beebs ] michaelschmidt [ michaelschmidt ]
          bryanthompson bryanthompson made changes -
          Status Open [ 1 ] Accepted [ 10101 ]
          bryanthompson bryanthompson made changes -
          Link This issue relates to BLZG-637 [ BLZG-637 ]
          bryanthompson bryanthompson made changes -
          Status Accepted [ 10101 ] In Progress [ 3 ]
          bryanthompson bryanthompson made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          bryanthompson bryanthompson made changes -
          Status Resolved [ 5 ] In Review [ 10100 ]
          bryanthompson bryanthompson made changes -
          Resolution Done [ 10000 ]
          Status In Review [ 10100 ] Done [ 10000 ]

            People

            • Assignee:
              michaelschmidt michaelschmidt
              Reporter:
              bryanthompson bryanthompson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: