Welcome! Please see the About page for a little more info on how this works.

0 votes
in Cloud by

Does calling d/delete-database permanently remove all data stored in that database (historical or otherwise)?

1 Answer

0 votes
by

When you delete a database with d/delete-database, the database immediately becomes unavailable for use. As a separate step, you may later choose to reclaim all storage associated with deleted databases on a system.

The delete database step makes all data stored for that DB (historical and otherwise) unavailable and marked for collection. The caveat is that space is not reclaimed until you run gc-deleted-dbs as described in our docs:

https://docs.datomic.com/on-prem/capacity.html#garbage-collection-deleted

by
So at some point in the future, after the call to d/delete-database, all data will be permanently removed?

Does the same gc-deleted-dbs command exist for Datomic Cloud?
by
Yes, and in cloud this GC cleanup is a background task handled without explicitly calling gc-deleted-dbs.  As such, the command does not exist in Cloud.
by
After how much time can I know that the GC cleanup background task has run in my Cloud system?
...