Skip to content
Maintained by AxonOps — production-grade documentation from engineers who operate distributed databases at scale

nodetool getdefaultrf

Cassandra 4.1+

This command is available in Cassandra 4.1 and later.

Displays the default replication factor.


Synopsis

nodetool [connection_options] getdefaultrf

Description

nodetool getdefaultrf shows the default replication factor used for keyspace creation and validation. This setting affects guardrails that validate replication factor adequacy when creating or altering keyspaces.


Output Format

The command outputs a single numeric value representing the default replication factor:

3

Examples

Basic Usage

nodetool getdefaultrf

Sample output:

3

Command Relationship
setdefaultrf Modify default RF
describecluster Cluster information