Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3796

Apply Local Indexes batch updates only once

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.11.0
    • None

    Description

      mujtabachohan pointed out an "exponential" increase in update time in the size of the batch.

      Indeed when I look at the code in Indexer.java I see that for each call to postPut or postDelete we do insert the entire into the local index. (So for a batch of size 10000 we'd make 10000 index updates 10000 times)

      rajeshbabu

      Attachments

        1. PHOENIX-3796-4.x-HBase-0.98.patch
          9 kB
          James R. Taylor
        2. PHOENIX-3796.patch
          9 kB
          James R. Taylor
        3. 3796-4x.txt
          9 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: