# Case Study: Deleting Large Amount of Data 

+ Three ways to delete data from `RawKV`（take **`client-go`** as an example）
  + **`PutWithTTL`** (set **`enable-ttl`** to `true` or `false` only when deploying a new `TiKV` cluster)
    + `GC` by `compaction filter`
  + **`Delete`**
    + `GC` by `rocksdb-compaction`
  + **`DeleteRange`**
    + `unsafe-destroy` range of data (the fastest way to release physical space)

-------------------------------------------------------------------------

