Explain the concept of compaction in Cassandra.

devquora
devquora

Posted On: Feb 22, 2018

 

Compaction is very efficient in maintaining the process of arrangement for data update of the data structure on disk. Compaction is beneficial at the time of interaction with Memtable.

Generally, there are two kinds of Compaction

  1. Minor compaction -It is a type of compaction in which equally sized SS Tables are adjusted into one. It does not need to start, as it starts automatically when a fresh SS Table is formed.
  2. Major compaction- It can't start automatically, there is a node tool used as a trigger. It is used to condense the SS Table of a column family into the one.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Cassandra Interview Questions

    What do you understand by Cassandra?

    It is a NoSQL based technology which is highly selected by the users and customers...

    Cassandra Interview Questions

    What are the main benefits of using Cassandra?

    First of all, the extraordinary points that makes the people so attracted to it that it has no chance of failure..

    Cassandra Interview Questions

    What do you mean by Tunable Consistency?

    Tunable Consistency is used to keep the fresh and co-exist data rows on all their replicas..