1.

Explain The Concept Of Compaction In Cassandra.?

Answer»

Compaction refers to a maintenance process in CASSANDRA , in which, the SSTables are reorganized for data optimization of data structure son the disk. The compaction process is useful during interactive with MEMTABLE. There are two type SOF compaction in Cassandra:

  1. Minor compaction: started automatically when a new sstable is created. Here, Cassandra condenses all the equally sized sstables into one.
  2. Major compaction : is TRIGGERED manually using nodetool. COMPACTS all sstables of a ColumnFamily into one.

Compaction refers to a maintenance process in Cassandra , in which, the SSTables are reorganized for data optimization of data structure son the disk. The compaction process is useful during interactive with memtable. There are two type sof compaction in Cassandra:



Discussion

No Comment Found