Skip to content

The information on the article is incorrect. You cannot set the AnalyticalStoreTimeToLiveInSeconds to null #4849

Open

Description

Issue Transfer

This issue has been transferred from the Azure SDK for .NET repository, #46814.

Please be aware that @hesperanca is the author of the original issue and include them for any questions or replies.

Details

Type of issue

Code doesn't work

Description

There has been a lot of confusion about how to disable the analytical store on a Cosmos container. I raised a bug about this some time ago that was dealt with by @ealsur. Some of the documentation has been amended, but this article still states that we can disable the CosmosDB integration by setting the TTL value to null, which is incorrect.

According to the updated documentation, to disable the analytical store we need to set the AnalyticalStoreTimeToLiveInSeconds property to 0 (not null as stated in this article).

It would also be great if it could be documented that setting the AnalyticalStoreTimeToLiveInSeconds property to 0 will not work if continuous backup is enabled (which is the default).

We are an ISV selling a SAAS application that is heavily dependent on CosmosDB. Documentation issues like this one can severely the service we provide to our customers.

Thanks for your help.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.containerproperties.analyticalstoretimetoliveinseconds?view=azure-dotnet

Content source URL

https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Microsoft.Azure.Cosmos/ContainerProperties.xml

Document Version Independent Id

5d68eda7-bc03-d2b1-8f5b-e55207a4b839

Article author

@azure-sdk

Metadata

  • ID: cb823c91-7571-cca8-c7b8-e396faa4c1fa
  • Service: azure-cosmos-db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions