[ 
https://issues.apache.org/jira/browse/HBASE-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918132#action_12918132
 ] 

Jonathan Gray commented on HBASE-3082:
--------------------------------------

The easy was is to add a flag to get which will first only open the scanner 
against the memstore/snapshot, and then if not found, open the scanner again 
across everything.

The harder way would be to reintroduce the Get code we ripped out (hoping not 
to do this).

The first way has been implemented by Prakash and we saw big gains from it.

Can you explain more what you mean by mixed puts/ICVs?  Would those be mixed on 
the same column?

> For ICV gets, first look in MemStore before reading StoreFiles
> --------------------------------------------------------------
>
>                 Key: HBASE-3082
>                 URL: https://issues.apache.org/jira/browse/HBASE-3082
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Jonathan Gray
>            Assignee: Prakash Khemani
>
> For incrementColumnValue operations, it is possible to check MemStore for the 
> column being incremented without sacrificing correctness.  If the column is 
> not found in MemStore, we would then have to do a normal Get that 
> opens/checks all StoreFiles for the given Store.
> In practice, this makes increment operations significantly faster for 
> recently/frequently incremented columns.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to