0 votes
in HBase by

What are the different compaction types in HBase?

1 Answer

0 votes
by

There are two types of compaction. Major and Minor compaction. In minor compaction, the adjacent small HFiles are merged to create a single HFile without removing the deleted HFiles. Files to be merged are chosen randomly.

In Major compaction, all the HFiles of a column are emerged and a single HFiles is created. The delted HFiles are discarded and it is generally triggered manually.

Related questions

0 votes
asked Jun 10, 2020 in HBase by Robindeniel
0 votes
asked Jun 10, 2020 in HBase by Robindeniel
...