diff --git a/docs/operating-scylla/nodetool-commands/flush.rst b/docs/operating-scylla/nodetool-commands/flush.rst index 6cf6803748..73845378a6 100644 --- a/docs/operating-scylla/nodetool-commands/flush.rst +++ b/docs/operating-scylla/nodetool-commands/flush.rst @@ -1,6 +1,6 @@ Nodetool flush ============== -**flush** ``[ ...]``- Specify a keyspace and one or more tables that you want to flush from the memtable to on disk SSTables. +**flush** - Flush memtables to on-disk SSTables in the specified keyspace and table(s). For example: @@ -8,6 +8,26 @@ For example: nodetool flush keyspaces1 standard1 +Syntax +------ + +.. code-block:: none + + nodetool flush [ [ ...]] + +nodetool flush takes the following parameters: + +.. list-table:: + :widths: 50 50 + :header-rows: 1 + + * - Parameter Name + - Description + * - ```` + - The keyspace to operate on. If omitted, all keyspaces are flushed. + * - ``
...`` + - One or more tables to operate on. Tables may be specified only if a keyspace is given. If omitted, all tables in the specified keyspace are flushed. + See also :doc:`Nodetool drain `