You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Chen Luo (JIRA)" <ji...@apache.org> on 2018/03/04 06:37:00 UTC

[jira] [Updated] (ASTERIXDB-2310) Use Primary Key Index to Enforce Insert Key Uniqueness

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

Chen Luo updated ASTERIXDB-2310:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> Use Primary Key Index to Enforce Insert Key Uniqueness
> ------------------------------------------------------
>
>                 Key: ASTERIXDB-2310
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2310
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>          Components: ING - Ingestion, STO - Storage
>            Reporter: Chen Luo
>            Assignee: Chen Luo
>            Priority: Major
>
> **Currently when ingesting data using INSERT operations, we always check the primary index to ensure key uniqueness. However, this implies in most cases all ingested records might be accessed, which will slow down the ingestion performance a lot when the records cannot be cached. To handle this, we can enforce key uniqueness by checking the primary key index, which is much smaller and can be more easily cached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)