Clearing the data from Windows

Clear data from a Windows installation.

There are two options for clearing data from a Windows installation:

Procedure

  • To delete all data from the default directories, including the commitlog and saved_caches:
    1. Complete the process of stopping Cassandra.
    2. Run the following command from the install directory:
      C:\> rmdir /s "Program Files\DataStax Community\apache-cassandra\data"
  • To delete only the data in the data directory:
    1. Complete the process of stopping Cassandra.
    2. Run the following command from the install directory:
      C:\> rmdir /s "Program Files\DataStax Community\data\data"