| The Cassandra 1.2 documentation is transitioning to a new format! Please use the new Cassandra 1.2 documentation instead. | Back to Table of Contents CQL Commands Table of Contents |
Shows the current consistency level, or given a level, sets it.
Providing an argument to the CONSISTENCY command overrides the default consistency level of ONE, setting the consistency level for future requests. Valid values are: ANY, ONE, TWO, THREE, QUORUM, ALL, LOCAL_QUORUM and EACH_QUORUM. See About data consistency for more information about these settings.
Providing no argument shows the current consistency level.
CONSISTENCY
If you haven't changed the default, the output of the CONSISTENCY command with no arguments is: Current consistency level is ONE.