Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-933 Enhance Local index support
  3. PHOENIX-1170

Change status of local index during splitting to prevent usage when slower than query through data table

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • None
    • None

    Description

      Without pre-split, queries to the table take 9x more time (i.e. 1 sec versus 9sec) for a count. If we can't bring the time down to be less than a full scan over the data table, we should update the local index status as INACTIVE while it's splitting, then it wouldn't be used for queries, but it would continue to be maintained. Then when the split is done, we could move it back to ACTIVE. Alternatively, we could invent a new status, like SPLITTING, and only use the local index for point lookups until the status is back to ACTIVE.

      Attachments

        1. PHOENIX-1170_v2.patch
          23 kB
          rajeshbabu
        2. PHOENIX-1170.patch
          22 kB
          rajeshbabu

        Activity

          People

            rajesh23 rajeshbabu
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: