You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Thomas Julian <th...@zoho.com> on 2016/09/20 11:50:08 UTC

How to alter the default value for concurrent_compactors

Hello,



We have commented out "concurrent_compactors" in our Cassandra 2.1.13 installation. 

We would like to review this setting, as some issues indicate that the default configuration may affect read/write performance. 



https://issues.apache.org/jira/browse/CASSANDRA-8787

https://issues.apache.org/jira/browse/CASSANDRA-7139



Where can we see the value set for concurrent_compactors in our setup? Is it possible to update this configuration without a restart?



Best Regards,

Julian.







Re: How to alter the default value for concurrent_compactors

Posted by Romain Hardouin <ro...@yahoo.fr>.
Hi,
You can read and write the value of the following MBean via JMX:org.apache.cassandra.db:type=CompactionManager  - CoreCompactorThreads
 - MaximumCompactorThreads

If you modify CoreCompactorThreads it will be effective immediatly, I mean assuming you have some pending compactions, you will see N lines with nodetool compactionstats where N=<New CoreCompactorThreads value>.
Best,
Romain
 

    Le Mardi 20 septembre 2016 13h50, Thomas Julian <th...@zoho.com> a écrit :
 

 Hello,

We have commented out "concurrent_compactors" in our Cassandra 2.1.13 installation. 
We would like to review this setting, as some issues indicate that the default configuration may affect read/write performance. 

https://issues.apache.org/jira/browse/CASSANDRA-8787
https://issues.apache.org/jira/browse/CASSANDRA-7139

Where can we see the value set for concurrent_compactors in our setup? Is it possible to update this configuration without a restart?

Best Regards,
Julian.