flush

Unlike the drain operation, flush just flushes all memtables to disk without stoping all connections from the client and nodes, hence this operation will just clear memtables and generate new SSTable. This command has the ability to specify a table and keyspace instead of flushing memtables for all of them:

$CASSANDRA_HOME/bin/nodetool flush

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.