# Garbage collection for sequential numbers in timestamps

If you assign sequential numbers to the timestamp property of cells in a
Bigtable column family, rather than assigning a date and time, then you
must use version-based garbage collection for that column family. An age-based
garbage collection policy is unsafe without real timestamps, because age-based
policies remove data based on the timestamp.

#### Advantages of storing sequential numbers in timestamps

- You are able to use monotonically increasing timestamps if you need to.

#### Disadvantages of storing sequential numbers in timestamps

- You can't switch to age-based garbage collection.

- Because your timestamps aren't an actual date and time, you cannot use the
  cells' timestamps for any other use case, such as determining how old a value
  is. As a workaround, you can write a real timestamp to a separate column, but
  this will increase the amount of data you store.

- Because garbage collection is asynchronous, we recommend that you use filters
  when you read the data.

## What's next

- Explore strategies to [simulate cell-level TTL](https://docs.cloud.google.com/bigtable/docs/gc-cell-level.md.txt)
- Review code samples showing how to [configure garbage collection](https://docs.cloud.google.com/bigtable/docs/configuring-garbage-collection.md.txt)
- Learn more about [storage pricing](https://docs.cloud.google.com/bigtable/pricing#storage)