Hi Murillo, Antonio J •,
Welcome to Microsoft Q&A forum.
As I understand, you want to delete documents from analytical storage of Azure Cosmos DB.
The retention of this transactional data in analytical store can be controlled at container level by the AnalyticalStoreTimeToLiveInSeconds
property.
Currently we don't delete any data from analytical store. If you set your ATTL to any positive integer, the data won't be included in your queries and you won't be billed for it. But if you change ATTL back to -1
, all the data will show up again, you will start to be billed for all the data volume.
Can I update or delete an item from the analytical store after it has been TTL’d out from the transactional store?
All transactional updates and deletes are copied to the analytical store but if the item has been purged from the transactional store, then it can't be updated in the analytical store. To learn more, see the Analytical TTL article.
Hope this helps. Let us know if you have a different ask.
Thanks