Installation details
#ScyllaDB version: 5.1.19
#Cluster size: 22
#OS: ubuntu
Hello everyone,
My Scylla cluster version is 5.1. Due to some performance issues,
I want to change the compaction strategy of certain tables from LCS (Leveled Compaction Strategy) to STCS (Size-Tiered Compaction Strategy).
In my tests, Scylla triggers a major compaction to apply the new compaction strategy,
but I want to minimize the impact during this transition.
Additionally, I would like a rollback mechanism in case of any issues with Scylla. Here’s the approach I’m considering:
- Disable auto-compaction on all nodes.
- Alter the table compaction strategy from LCS to STCS.
- Enable auto-compaction on one node. After confirming that all pending tasks are complete (conversion done), enable auto-compaction on the next node.
If any issues occur, I can revert the table compaction strategy back to LCS.
Here are my questions:
Q1. Is this process okay, or is there a better approach?
Q2. If I disable auto-compaction for an extended period (possibly up to 10 days, due to the large size of my data), could this cause any issues?