Hi, all,

 

I recently found that short scan is slower than get operation in HBase. It
is acceptable, but I really want to understand the reason.

 

My testing table only has one row in it. So both Scan and Get just get one
row. Scan is still about 2x slower than get operation.

So I want to understand the difference between get(rowkey) and Scan(rowkey,
rowkey).

 

I think Get will first match in blockcache, if matched, it will go back
without accessing HFile/Memstore; 

Will Scan search in blockcache as well? Or it directly go to memstore/HFile?

 

thanks,

Ming

 

Reply via email to