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

seekToPrevoiusRow() can be optimized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • Performance, Scanners
    • None

    Description

      Need to check the details and see how to implement it. But the problem is this
      In seekToPReviousRow impl in case of a reverse scan, say we have rows row10000 to row20000. We are doing a reverse scan.
      The scan starts from row20000 and we read all columns. Assume this row was skipped due to mvcc we move to the previous row 'row19999'. Now we read this row19999 and even if this does not match in mvcc we skip and again read row20000 and do the same.
      Like this we keep doing til we come to row10000 and this time we read til row20000 just to k now we have to skip it. The same problem happens in Storefilescanner also and there we do lot of seek and next(). Better to solve this case.
      zjushch - FYI.

      Attachments

        1. HBASE-16501.patch
          3 kB
          ramkrishna.s.vasudevan
        2. HBASE-16501_sysocount.patch
          4 kB
          ramkrishna.s.vasudevan
        3. HBASE-16501_1.patch
          4 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: