nodetool flush

Flushes one or more tables from the memtable.

Flushes one or more tables from the memtable.

Synopsis

nodetool <options> flush -- <keyspace> ( <table> ... )
  • Options are:
    • ( -h | --host ) <host name> | <ip address>
    • ( -p | --port ) <port number>
    • ( -pw | --password ) <password >
    • ( -u | --username ) <user name>
    • ( -pwf <passwordFilePath | --password-file <passwordFilePath> )
  • -- separates an option and argument that could be mistaken for a option.
  • 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.