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

Skip family comparing when compare cells inner the store

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0, 3.0.0-alpha-4
    • Performance
    • None

    Description

      Currently we use CellComparatorImpl to compare cells, it compare row first, then family, then qulifier and so on.

      If the comparing inner the store, the families are always equal(unless the familyLength is zero for special purpose), so this step could be skipped for better performance.

      Attachments

        1. BenchmarkForInnerStore.java
          4 kB
          Zheng Wang
        2. BenchmarkForNormal.java
          4 kB
          Zheng Wang

        Issue Links

          Activity

            People

              filtertip Zheng Wang
              filtertip Zheng Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: