carbondata-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erlu Chen <chenerl...@gmail.com>
Subject Re: What is the difference between Minor Compaction Level 1 and Minor Compaction Level 2?
Date Thu, 08 Jun 2017 14:25:03 GMT
Hi, xm_zzc

As I know, the principle of Major and Minor data compaction is the same. But
Major compaction is based on segment size and Minor compaction is based on
segment number.

There is switch named "carbon.enable.auto.load.merge" which will enable
compaction when loading data.
This only support Minor compaction.

Besides, Carbondata support alter table compact [minor | major]. 

Just specify the compact type you want then it will trigger compaction.


Regards.
Chenerlu.



--
View this message in context: http://apache-carbondata-user-mailing-list.3231.n8.nabble.com/What-is-the-difference-between-Minor-Compaction-Level-1-and-Minor-Compaction-Level-2-tp23p26.html
Sent from the Apache CarbonData User Mailing List mailing list archive at Nabble.com.

Mime
View raw message