Questions tagged [azure-cosmosdb]

Azure Cosmos DB is Microsoft's fully managed and serverless distributed database with support for NoSQL and relational workloads. It offers global distribution across all Azure regions transparently replicating your data wherever your users are. Develop applications using open-source database engines, including PostgreSQL, MongoDB, and Cassandra. Get automatic scalability, enterprise-grade security, and cost-effective consumption-based pricing.

Azure Cosmos DB is a fully managed, distributed NoSQL and relational database for modern app development. Get single-digit millisecond response times and up to 99.999-percent availability, backed by SLAs. Build cloud-native apps quickly and easily using your preferred tools with support for open-source PostgreSQL, MongoDB and Apache Cassandra. Enjoy automatic and instant scalability, and fast writes and reads anywhere in the world with turnkey data replication and multi-region writes. Gain insight over real-time data with no-ETL analytics using Azure Synapse Link for Azure Cosmos DB.

7404 questions
2
votes
1 answer

Why does CosmosDB ignore indexes when creating document collection via ARM template?

Given the ARM template: { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "resources": [ { "name": "1test2/sql/2test3/3test4", "type":…
jamesmus
  • 319
  • 1
  • 9
2
votes
1 answer

How to query Cosmos DB on Azure Portal with $v and $t

I have a Cosmos DB on Azure with SQL API. I am able to query data through C# using their Nuget package, but I am getting an error when running a query from Azure Portal > Cosmos DB > Data Explorer. I'd like to get the value of $v and do some…
2
votes
2 answers

Storing over 500 k + images as varbinaryblob on Azure BLOB or CosmosDB?

I work on UWP app that downloads images from Azure . Although the size of image in < 2 MB , their number is over 500 k. Currently the images are stored in Azure SQL as varbinary .This is consuming 250 GB on the database instance.We need to move it…
rmehra76
  • 404
  • 2
  • 10
2
votes
2 answers

How to connect coldfusion with azure cosmos db

We have an application developed with coldfusion. We want to use cosmos database as backend. Please help me with this.
Sachan
  • 135
  • 9
2
votes
1 answer

How does Trigger work in Cosmos DB Emulator

I am not able to understand how Trigger works in Cosmos DB Emulator. Please explain me how it is used.
VarunKumar
  • 125
  • 2
  • 9
2
votes
2 answers

Partition Key Vs Document Id in CosmosDB

If I store documents without providing partition key, In this case documentId will be treated as Partition Key of Logical Partition? If yes: how about Billion logical partitions in that collection? I have query to only look by documentId. Now inside…
2
votes
1 answer

Unable to update the cosmosDB collection from Azure triggering function

I have created a collection in cosmosDB with a unique key. Ideally collection should be updated with new values if an existing key is entered as input for the collection. I have an Azure cosmosDB trigger function which is configured the above…
Antony
  • 970
  • 3
  • 20
  • 46
2
votes
0 answers

Azure Cosmos DB GeoJson support - MultiPolygon, Feature

I'm trying to understand what types of GeoJson objects I can store and work with in Azure Cosmos DB. As per this documentation - https://learn.microsoft.com/en-us/azure/cosmos-db/geospatial you can store any GeoJson as it is a valid JSON But…
user3740951
  • 1,109
  • 2
  • 20
  • 39
2
votes
2 answers

Azure CosmosDB COUNT Consuming a lot of RU/s (MongoDB)

I have a collection with ~8000 documents that I paginate in my application. However, my query to get the count of total documents (to calculate page count), is blowing my RU/s quota out of the water. The find query only takes about 3 RU/s, but…
ztnark
  • 329
  • 1
  • 2
  • 10
2
votes
1 answer

MongoDB timeout Exception (C#)

We're developing a chatbot using microsoft framework (v3) along with cosmos's mongo API. We've had no issues up until recently when the bot suddenly stopped working locally. On further inspection, we found that we were getting a timeout exception.…
2
votes
1 answer

How to use CosmosDb with partition key as a Stream Analytics output?

I'm setting up CosmosDb with a partition key as a Stream Analytics Job output and the connection test fails with the following error: Error connecting to Cosmos DB Database: Invalid or no matching collections >found with collection pattern…
bnm91
  • 33
  • 1
  • 4
2
votes
2 answers

Azure CosmosDB Trigger to update a Collection based on Value in another Collection

I have to update a cosmosDB Collection(let be collection-1) based on value of a column in another cosmosDB Collection(let be collection-2). The collection-1 should be updated with values from other collections like collection-3 and collection-4. i…
2
votes
2 answers

Error while trying to pull azure key vault from azure function - Value cannot be null. Parameter name: authKeyOrResourceToken

I want to integrate my azure functions app with the key vault. I followed the steps shown here http://blogs.adatis.co.uk/benjarvis/post/Azure-Functions-Key-Vault-Integration But facing this error- Value cannot be null. Parameter name:…
2
votes
1 answer

Why my CosmosDB Count operation that exceeeds RU Throughput does not throttle?

I have a database with a shared Throughput of 400. This database contains two containers. When I run the following query on one of these containers, I get charged for 1183 RUs : SELECT VALUE COUNT(1) FROM c where c.GroupClaim = 'None' GroupClaim is…
Anthony Hocquet
  • 348
  • 1
  • 3
  • 9
2
votes
0 answers

Onetomany domain mapping using azure cosmos sql api

I am doing spring boot application to perform crud operation using azure cosmos db (SQL API).I need to store the data in two different tables.current it is storing into only one table. i missed mapping between those two domains.can any one help me…
anand
  • 21
  • 2