I am in a new system where two different TTLs (30 days and 90 days) are being used with TWCS compaction. As a result, the team needs to do major compaction (STCS) every 40-50 days, which is affecting performance.
Last week major compaction was initiated which was completed yesterday and I have seen they never used split-output (-s) option. There is already 2 huge sstable (10 gb compacted and 300 gb uncompacted as an output of this compaction.
- Post STCS compaction, along with 2 bigger SSTables ,older sstables still coexist (since mid Dec 2022). What may be the reason?
- If next time the team will run compaction with split option, will that bigger file be split? Or do we have to use sstablesplit to get that splitted?
- In 2 out of 5 nodes some sstables are there since July 2022 in the data file path. What may be the problem ?? I have observed some sstable files in snapshot directory...is this the issue??