nodetool rebuild_view
Performs a rebuild of the specified materialized views for a particular base table on the node on which the command is run. Use this command to rebuild materialized views after restoring SSTables or after restarting a materialized view build that was previously stopped. If no materialized views are specified, all materialized views based on the specified table are rebuilt.
The |
Synopsis
nodetool <options> rebuild_view
-- <keyspace> <table> [<materialized_view_name>] [<materialized_view_name>...]
Tarball and Installer No-Services path:
<installation_location>/resources/cassandra/bin
Short | Long | Description |
---|---|---|
|
|
Hostname or IP address. |
|
|
Port number. |
|
|
Password file path. |
|
|
Password. |
|
|
Remote JMX agent username. |
keyspace |
Name of keyspace. |
|
table |
Name of table. |
|
-- |
Separates an option from an argument that could be mistaken for an option. |
Examples
Rebuild materialized views cyclist_by_age
and cyclist_by_birthday_and_age
on cycling keyspace and cyclist_base
table
Rebuild materialized views cyclist_by_age and cyclist_by_birthday_and_age on cycling keyspace and cyclist_base table