/    /  Cassandra – Truncate Table

Cassandra – Truncate Table

In this tutorial, we will learn about TRUNCATE Table command in Cassandra which will allow to truncate all the data from a table. The Date removed is irreversible.

Note: Truncating a table triggers an automatic snapshot which backs up the data only, not the schema.


TRUNCATE keyspace_name.table_name;


cqlsh> Truncate users;