© Deepak Vohra 2016

Deepak Vohra, Apache HBase Primer, 10.1007/978-1-4842-2424-3_11

11. Compactions

Deepak Vohra

(1)Apt 105, White Rock, British Columbia, Canada

Compactions were introduced in Chapter 2. In this chapter, I will discuss compactions in more detail. Each flush of the MemStore generates a StoreFile, which is façade on an HFile. The MemStore size at which a flush is performed is set in hbase.hregion.memstore.flush.size, which is 128MB by default. The MemStore size is checked at a frequency set in hbase.server.thread.wakefrequency, which has a default of 10,000 ms. If the number of StoreFiles in a store exceed some limits/thresholds, the files are compacted into larger StoreFiles. Compaction is the process of creating a larger StoreFile ...

Get Apache HBase Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.