hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anastasia Braginsky (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17343) Make Compacting Memstore default in 2.0 with BASIC as the default type
Date Mon, 15 May 2017 12:36:04 GMT

     [ https://issues.apache.org/jira/browse/HBASE-17343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anastasia Braginsky updated HBASE-17343:
----------------------------------------
      Resolution: Fixed
    Release Note: 
 This JIRA changes the default MemStore to be CompactingMemStore instead of DefaultMemStore.
In-memory compaction of CompactingMemStore demonstrated sizable improvement in HBase’s write
amplification and read/write performance.

CompactingMemStore achieves these gains through smart use of RAM. The algorithm periodically
re-organizes the in-memory data in efficient data structures and reduces redundancies. The
 HBase server’s memory footprint therefore periodically expands and contracts. The outcome
is longer lifetime of data in memory, less I/O, and overall faster performance. More details
about the algorithm and its use appear in the Apache HBase Blog: https://blogs.apache.org/hbase/

How To Use:
The in-memory compaction level can be configured both globally and per column family. The
supported levels are none (DefaultMemStore), basic, and eager. 

By default, all tables apply basic in-memory compaction. This global configuration can be
overridden in hbase-site.xml, as follows: 

<property>
 <name>hbase.hregion.compacting.memstore.type</name>
 <value><none|basic|eager></value>
 </property>

The level can also be configured in the HBase shell per column family, as follows:  

create ‘<tablename>’, 
{NAME => ‘<cfname>’, IN_MEMORY_COMPACTION => ‘<NONE|BASIC|EAGER>’}

          Status: Resolved  (was: Patch Available)

> Make Compacting Memstore default in 2.0 with BASIC as the default type
> ----------------------------------------------------------------------
>
>                 Key: HBASE-17343
>                 URL: https://issues.apache.org/jira/browse/HBASE-17343
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Anastasia Braginsky
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17343-V01.patch, HBASE-17343-V02.patch, HBASE-17343-V04.patch,
HBASE-17343-V05.patch, HBASE-17343-V06.patch, HBASE-17343-V07.patch, HBASE-17343-V08.patch,
HBASE-17343-V09.patch, ut.v1.patch
>
>
> FYI [~anastas], [~eshcar] and [~ebortnik].



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message