Database Reference
In-Depth Information
3.
Once the node has been decommissioned, we can validate it using the
status command.
vivek@vivek-Vostro-3560:~/software/
local-cluster/node1$ bin/nodetool status
Datacenter: datacenter1
=======================
Status=Up(U)/Down(D)
|/ State=Normal(N)/Leaving(L)/Joining(J)/
Moving(M)
Status/ Address Load Tokens
Owns Host
ID Rack
State
(effective)
UN 127.0.0.2 66.54 KB 256
100%
cb9da211-6948-4c21-b5f5-5ee660cd9355 Rack1
UN 127.0.0.3 50.31 KB 256
100%
74ee5df6-d990-4deb-9144-501c349308d6 Rack1
Schema Management
Schema management means analyzing keyspaces and tables, performing repairs, re-
building or cleaning up data, and various other activities. With the nodetool utility,
these operations are available in the form of simple commands. Using them we can
easily manage schema level operations. Let's discuss some of the more important ones
with simple examples.
cfstats
Using the cfstats command we can gather statistics about keyspaces and their
tables. It is very useful to monitor read/write latency, compaction, and memtable-re-
lated information.
Search WWH ::




Custom Search