Therefore, when a document is deleted, metadata is actually retained forever. For a hosted service such as cloudant, where the storage costs are every month, instead I would like to completely clear the deleted documents.
I read somewhere about a design pattern in which you use dbcopy in a view to put documents in the "current" db, and then periodically delete the expired dbs. But I can not find the article, and I do not quite understand how the database name will work. How would cloud clients always know the "current" database name?
source
share