Disable the commit log

281 views
Skip to first unread message

Charan Adabala

unread,
Aug 3, 2015, 1:32:50 PM8/3/15
to DataStax Spark Connector for Apache Cassandra, cha...@eiqnetworks.com
Hi Friends,

Please help me how I disable the commit log in cassandra.

1) Is there any issues if I disable the commit log?

2) Is there any performance improvement ?

Actually I Goggled for disable the commit log but they says, when we creating the Keyspace set durable_writes = false, but this is not working for me I tried.

Please give the valuable suggestion's.

Russell Spitzer

unread,
Aug 3, 2015, 1:42:13 PM8/3/15
to DataStax Spark Connector for Apache Cassandra, cha...@eiqnetworks.com
Setting durable_writes to false on the keyspace will disable the commit log for writes to that table. 

Other tables will still have durable writes (like the system keyspace) There will be a considerable performance improvement since you will no longer put any pressure on the commit log and writes will be able go into the system and only touch the disk once when the meltable is flushed to disk. This comes at the cost of not having a copy written to hard storage on ack which means a power loss will lose records. 

To unsubscribe from this group and stop receiving emails from it, send an email to spark-connector-...@lists.datastax.com.
--
Reply all
Reply to author
Forward
0 new messages