Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2015

Create secondary primary index

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 0.9.4
    • IDX - Indexes
    • None

    Description

      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.

      Attachments

        Activity

          People

            alsuliman Ali Alsuliman
            alsuliman Ali Alsuliman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: