Re: Truncate really slow

2015-07-01 Thread Robert Coli
On Wed, Jul 1, 2015 at 2:58 PM, horschi wrote: > you have to enable -Dcassandra.unsafesystem=true in cassandra-env.sh. Also > disable durables writes for your CFs. > > This should speed things up and should reduce IOWait dramatically. > The above two suggestions are almost always bad advice anyw

Re: Truncate really slow

2015-07-01 Thread horschi
Hi, you have to enable -Dcassandra.unsafesystem=true in cassandra-env.sh. Also disable durables writes for your CFs. This should speed things up and should reduce IOWait dramatically. kind regards, Christian On Wed, Jul 1, 2015 at 11:52 PM, Robert Wille wrote: > I have two test clusters, both

Truncate really slow

2015-07-01 Thread Robert Wille
I have two test clusters, both 2.0.15. One has a single node and one has three nodes. Truncate on the three node cluster is really slow, but is quite fast on the single-node cluster. My test cases truncate tables before each test, and > 95% of the time in my test cases is spent truncating tables