# High Compaction at peak

**URL:** <https://forum.scylladb.com/t/high-compaction-at-peak/1973>\
**Category:** ScyllaDB\
**Tags:** performance, compaction\
**Created:** [May 7, 2024, 3:52pm UTC](https://forum.scylladb.com/t/high-compaction-at-peak/1973 "2024-05-07T15:52:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdnaffi](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@sdnaffi](https://forum.scylladb.com/u/sdnaffi)\
**Post date:** [May 7, 2024, 3:52pm UTC](https://forum.scylladb.com/t/high-compaction-at-peak/1973/1 "2024-05-07T15:52:04Z")

</div>

Hi,

I want to know how to adjust compaction\_static\_shares parameter according to the load. We are experiencing high compaction running at peak read and latency increases to 5s. Help us to understand the above parameter.

Scylla version 5.2

Thank you

---

<div class="post-metadata">

**Author:** ![raphaelsc](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/raphaelsc/32/164_2.png) [@raphaelsc](https://forum.scylladb.com/u/raphaelsc)\
**Post date:** [May 14, 2024, 4:29pm UTC](https://forum.scylladb.com/t/high-compaction-at-peak/1973/2 "2024-05-14T16:29:40Z")

</div>

usually, we set compaction\_static\_shares to 100 to minimize impact. 1k is the maximum value. do you have monitoring set up? latency increases to that only during compaction?
