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 Justo Galvizo (Jira)" <ji...@apache.org> on 2021/06/25 22:18:00 UTC

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

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glenn Justo Galvizo closed ASTERIXDB-2831.
------------------------------------------
    Resolution: Fixed

> 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 Justo Galvizo
>            Priority: Major
>
> 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)