Relative Content

Tag Archive for azure-cosmosdb

CosmosDB copy – how to delete jobs

I have created many “Faulted” jobs, I don’t know these jobs will incur costs or not. So I want to delete these jobs. But I failed to find the way to do that.

Need a Cosmos query to find records by value without a key

I am storing data in a Cosmos db which looks similar to the example shown below. I need to write a query that will look in the “payload” section to see if a value exists. It is not possible to use the key (eg ‘lastModifiedOn.previousValue’) as these are dynamically created.

Throughput performance in cosmos DB

I have a container in Cosmos DB with around 10 million documents. This is taking around 3 hours to load from Databricks using cosmos.oltp library integration.

Design two containers in Azure Cosmos DB for anonymous and sign-in users

We want to store the user’s click on website into Azure Cosmos DB. We want to design two containers in a single Azure database, SampleDB. One container is to store the documents for anonymous user clicks on product detail page, one container is to store the documents for sign-in user clicks on product detail page. Later if an anonymous user sign in, we add the anonymous user’s product views document into sign-in user’s document container, then delete the document from anonymous user’s document container. The sample anonymous user’s product detail view looks like this: