Minor Compaction - Combines some Store files into a single file - Runs after three Store files have accumulated - Can be configured with hbase.hstore.compactionThreshold - Larger number of compactions will take longer but will be fewer - MemStore cannot flush to disk during compaction - If MemStore runs out of memory, clients will hang or timeout
Question : Major compaction ......
1. Reads all the Store files and writes to a single Store 2. Deleted rows and expired versions are removed 3. Access Mostly Uused Products by 50000+ Subscribers 4. None of the 1,2 and 3 are correct 5. All 1,2 and 3 are correct
Major Compaction - Reads all the Store files and writes to a single Store - Deleted rows and expired versions are removed - Happens once daily - Can be configured with hbase.hregion.majorcompaction - Heavyweight operation - run when load is low
1. scan throughput increases and random access latency decreases. 2. scan throughput decreases and random access latency increases. 3. Access Mostly Uused Products by 50000+ Subscribers 4. scan throughput increases and random access latency increases