You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Glenn Galvizo (Jira)" <ji...@apache.org> on 2021/02/11 03:52:00 UTC

[jira] [Created] (ASTERIXDB-2831) Use a More Selective Approach to Array Index UPSERTs

Glenn Galvizo created ASTERIXDB-2831:
----------------------------------------

             Summary: Use a More Selective Approach to Array Index UPSERTs
                 Key: ASTERIXDB-2831
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2831
             Project: Apache AsterixDB
          Issue Type: Improvement
            Reporter: Glenn Galvizo


Array indexes currently perform UPSERTs by unconditionally deleting the old array contents and inserting the new array contents. A "merge-join" inspired approach could be used here instead, where we iterate through the already sorted old and new arrays, compare the elements at each step, and selectively perform an insert / delete. 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)