Database Reference
In-Depth Information
CLEANUP, SCRUB,
INDEX_BUILD.
cfhistograms <keyspace>
- Print statistic
histograms for a given column
<cfname>
family.
refresh <keyspace>
- Load newly placed
SSTables to the system without
<cf-name>
restart.
rebuild_index <keyspace>
- a full rebuilds of
native secondary index for a
<cf-name> <idx1,idx1> given column fam-
ily. IndexNameExample: Standard3.
IdxName,Standard3.IdxName1.
setcachecapacity
- Set global key and
row cache capacities (in MB
<key-cache-capacity>
units).
<row-cache-capacity>
getendpoints <keyspace>
- Print the end
points that own the key.
<cf> <key>
getsstables <keyspace>
- Print the sstable
filenames that own the key.
<cf> <key>
predictconsistency
- Predict latency and
consistency "t" ms after
<replication_factor> <time>
writes.
[versions][latency_percentile]
We will cover what many of these options do and how to make proper use of
them throughout this chapter.
General Usage
While it is common to pass a host to nodetool using the -h or -host switch, if
one is not passed, nodetool will assume localhost and run all commands against
localhost. All query responses will be from the perspective of the node being quer-
ied. So if you want to find out what version of Cassandra the node you are on is
running, you can just run nodetool version (see Listing 7.2 ) .
Search WWH ::




Custom Search