[
https://issues.apache.org/jira/browse/ASTERIXDB-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abdullah Alamoudi closed ASTERIXDB-2016.
----------------------------------------
Resolution: Duplicate
> Create secondary primary index
> ------------------------------
>
> Key: ASTERIXDB-2016
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2016
> Project: Apache AsterixDB
> Issue Type: Improvement
> Components: IDX - Indexes
> Reporter: Ali Alsuliman
>
> This change is regarding introducing secondary primary index. The secondary
> primary index is a secondary B-Tree that is built on the primary keys of the
> dataset but only stores the {PK} instead of the regular case {SK,PK}. The
> purpose of this secondary is to optimize queries like SELECT count(*).
> Instead of scanning the primary index, the secondary primary index would be
> used to answer such queries.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)