What is the durable_writes keyspace option, and what is the effect of disabling it?
Last updated
durable_writesis a per-keyspace boolean (defaulttrue) controlling whether writes go to the on-disk commit log before acknowledgment.Disabling it writes only to the memtable: slightly faster, but unflushed data is lost if the node crashes or restarts.
Only acceptable for transient or regenerable data with enough replication. Almost never recommended for production data.
- https://docs.datastax.com/en/cql-oss/3.1/cql/cql_reference/create_keyspace_r.html
- https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/cqlAlterKeyspace.html
- https://dbschema.com/blog/cassandra/create-keyspace/
- https://www.vskills.in/interview-questions/apache-cassandra-interview-questions
- https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/cqlCreateKeyspace.html
- https://docs.datastax.com/en/cassandra-oss/2.2/cassandra/dml/dmlHowDataWritten.html
- https://cassandra.apache.org/doc/4.0/cassandra/cql/ddl.html
- https://www.devopsschool.com/blog/top-50-interview-questions-and-answers-of-apache-cassandra/