data dissapeared from Cosmos DB

Bivit 6 Reputation points
2022-09-25T17:34:07.06+00:00

HI!

I have created a graph using Cosmos DB Gremlin API and some data have been dessapeared lately. How is this possible?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,470 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 14,076 Reputation points Microsoft Employee
    2022-09-29T14:53:48.917+00:00

    Hi @Bivit ,

    Thanks for your patience.

    Data disappearance could be caused by TTL(Time to Live).

    With Time to Live or TTL, Azure Cosmos DB provides the ability to delete items automatically from a container after a certain time period.

    Could you please check if TTL is configured on the graph.

    You can check whether this is set on the graph in the Azure Portal. If enabled at a graph level, you can also query whether items in the graph have TTL set. Example here: access-system-properties-gremlin

    Reference link: time-to-live

    Hope this helps. Do let us know if you have further queries.