Cassandra Interview Questions Interview Questions Technologies

[Interview Question] – What is the difference between nodetool flush and nodetool drain?

nodetool flush :

Flushes one or more tables from the memtable.


nodetool drain :

  • Flushes all memtables from the node to SSTables on disk
  • DSE stops listening for connections from the client and other nodes
  • You need to restart DSE after running nodetool drain
  • Typically, use this command before upgrading a node to a new version of DSE.

Check Synopsis of nodetool flush and nodetool drain


Review
4

Categories

Categories