Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7952

Remove update() and Improve ExplicitColumnTracker performance.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.1, 0.94.5
    • 0.98.0, 0.95.0
    • regionserver
    • None

    Description

      In ColumnTracker.java, the update() method is not used by anyone now. And no one will call checkColumn for different HFiles with update() in between files to re-walk through the target columns. All columns will be feed to checkColumn() in order.

      So, within ExplicitColumnTracker, the target columns can be optimized to not dynamic maintain a changing list of columns yet to match. Instead, just move index through it is enough.

      with this optimization to save the time for avoid reconstruct a columns array upon each row, the checkColumn method's performance could be improved by 10-20%.

      Attachments

        1. HBASE_7952.patch
          9 kB
          Raymond Liu
        2. HBASE_7952_v3.patch
          10 kB
          Raymond Liu
        3. HBASE_7952_v2.patch
          10 kB
          Raymond Liu

        Activity

          People

            colorant Raymond Liu
            colorant Raymond Liu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: