question

rajib76 avatar image
rajib76 asked Erick Ramirez answered

Is it possible to distinguish a minor from major compaction in OpsCenter?

When we load or insert huge number of rows in a table, OPS center shows that compaction has been triggered, it starts several compactions. My guess is that those are minor compactions triggered based on the min_threshold set on the table. Is my understanding correct. From OPS center is it possible to distinguish a minor compaction from a major one.

compaction
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

A minor compaction is triggered automatically by the compaction strategy based on thresholds and compaction sub-properties.

In contrast, a major compaction is one that an operator/administrator has manually triggered either with nodetool compact, JMX or OpsCenter.

From a compaction statistics perspective, both minor and major compactions look identical. Only compactions triggered by repairs or SSTable upgrades will be reported with a different compaction type and will be distinguishable. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.