nodetool flush

Flushes one or more tables from the memtable.

Flushes one or more tables from the memtable.

Synopsis

nodetool <options> flush -- <keyspace>  <table> ... 
Table 1. Options
Short Long Description
-h --host Hostname or IP address
-p --port Port number
-pwf --password-file Password file path
-pw --password Password
-u --username User name
-- Separates an option from an argument that could be mistaken for a option.
Other options are:
  • keyspace is the name of a keyspace.
  • table is the name of one or more tables, separated by a space.

Description

You can specify a keyspace followed by one or more tables that you want to flush from the memtable to SSTables on disk.