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

Zheng Wang commented on HBASE-27788:
------------------------------------

A writing test case with PE:

nohup hbase pe --table=TestTable1 --nomapred --oneCon=true --valueSize=10 
--rows=1000000 --columns=200 --autoFlush=true   --presplit=10 --multiPut=100 
--writeToWAL=false  sequentialWrite 1 2>&1 > nohup.out &

//before patch
Finished TestClient-0 in 396657ms over 1000000 rows

//after patch
Finished TestClient-0 in 356932ms over 1000000 rows

> Skip family comparing when compare cells inner the store
> --------------------------------------------------------
>
>                 Key: HBASE-27788
>                 URL: https://issues.apache.org/jira/browse/HBASE-27788
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance
>            Reporter: Zheng Wang
>            Assignee: Zheng Wang
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to