Question : Which is or are true for Major Compaction 1. Can be configured with hbase.hregion.majorcompaction 2. Heavyweight operation - run when load is low 3. Access Mostly Uused Products by 50000+ Subscribers 4. MemStore can flush to disk during compaction
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
Question : Minor Compaction .... 1. Can be configured with hbase.hstore.compactionThreshold 2. Larger number of compactions will take longer but will be fewer 3. Access Mostly Uused Products by 50000+ Subscribers 4. All 1,2 and 3 are correct
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 : HLog is an WAL (Write Ahead Log ) implementation 1. True 2. False