You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2019/11/12 20:08:00 UTC

[jira] [Comment Edited] (HBASE-23279) Switch default block encoding to ROW_INDEX_V1

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

Viraj Jasani edited comment on HBASE-23279 at 11/12/19 8:07 PM:
----------------------------------------------------------------

Probably it's good to add 3% increment for each HFile block may be?

e.g.

val = 4*1024 + 1024

now, 3% of 4*1024 = 123, which is less than 1024, so better not change above formula? Not sure if this is the correct calculation though.

However, for 512*1024 + 1024, 3% of 512*1024 is quite higher than 1024 so we should change?

 

[~larsh] [~anoop.hbase]


was (Author: vjasani):
Probably it's good to add 3% increment for each HFile block may be?

e.g.

val = 4*1024 + 1024

now, 3% of 4*1024 = 123, which is less than 1024, so better not change above formula? Not sure if this is the correct calculation though.

[~larsh] [~anoop.hbase]

> Switch default block encoding to ROW_INDEX_V1
> ---------------------------------------------
>
>                 Key: HBASE-23279
>                 URL: https://issues.apache.org/jira/browse/HBASE-23279
>             Project: HBase
>          Issue Type: Wish
>            Reporter: Lars Hofhansl
>            Assignee: Viraj Jasani
>            Priority: Minor
>
> Currently we set both block encoding and compression to NONE.
> ROW_INDEX_V1 has many advantages and (almost) no disadvantages (the hfiles are slightly larger about 3% or so). I think that would a better default than NONE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)