Was this page helpful?
Caution
You're viewing documentation for a previous version of ScyllaDB Monitoring. Switch to the latest stable version.
Compaction takes lots of memory and CPUΒΆ
Scylla runs compaction periodically as a background process. While running compaction is important, there are situations that the compaction takes too much CPU. In those cases the compaction would impact the overall system performance.
When facing this problem, you can statically limit the compaction shares with one of two options:
Change
scylla.yml
to havecompaction_static_shares: 100
or
Start scylla with
--compaction-static-shares 100