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:36:00 UTC

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

Chen Luo created ASTERIXDB-2310:
-----------------------------------

             Summary: 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: Bug
          Components: ING - Ingestion, STO - Storage
            Reporter: Chen Luo
            Assignee: Chen Luo


**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)