Oh, I didn't notice the memory consumption at that time. We all know that the resource utilization is low during compaction. Using prefetch means that We are doing query background and it will surely consume more resources. Current size of prefetch is controlled by the 'carbon.detail.batch.size' and by default is 100 which means extra 100 rows will be kept in memory before it is retrieved. So the memory overhead consists the memory consumed by the query plus the memory of the #carbon.detail.batch.size records.
-- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/
