nodetool invalidatekeycache
Resets the global key cache parameter to the default, which saves all keys.
Resets the global key cache parameter to the default, which saves all keys.
Synopsis
nodetool <options> invalidatekeycache
Short | Long | Description |
---|---|---|
-h |
--host |
Hostname or IP address. |
-p |
--port |
Port number. |
-pwf |
--password-file |
Password file path. |
-pw |
--password |
Password. |
-u |
--username |
Remote JMX agent username. |
-- |
Separates an option from an argument that could be mistaken for a option. |
Description
By default the key_cache_keys_to_save is disabled in the cassandra.yaml. This command resets the parameter to the default.
The location of the cassandra.yaml file depends on the type of
installation:
Package installations | /etc/cassandra/cassandra.yaml |
Tarball installations | install_location/resources/cassandra/conf/cassandra.yaml |