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