0

I was able to get ETA on the compaction operations running now by using nodetool compactionstats. But what I need is to know how long did the past compactions run. nodtool compactionhistory shows when the compactions are completed but time took by each compaction operation.

psp
  • 3
  • 1

1 Answers1

0

It depends upon the data and size of the sstables. But you may increase throughput to get it faster if your server is strong enough. Also, you check the compactionstats and see the total size and remaining size.

LetsNoSQL
  • 1,478
  • 1
  • 11
  • 23
  • yes, I have checked `compactionstats` on multiple nodes and tried to calculate rate of compaction based on the remaining time and remaining size of the data to complete. It is almost consistent. But does cassandra logs the time took for each compaction anywhere ? – psp Feb 06 '20 at 06:44
  • You need to grab those compaction task or table on system.log then you can analyse the time. – LetsNoSQL Feb 06 '20 at 11:10