How to update DocumentDb from Microsoft.Azure.DocumentDB.Core
Hello, As we are updating our code base from netcoreapp3.1 to net5.0, one of the thing we have to do is update the Azure SDK we are using (KeyVault / Blob / Cosmos / ...) This question is about the CosmosDb part as we are consuming is with…
Azure Cosmos DB Geospatial Calculation ST_WITHIN and ST_DISTANCE
Hi there, We are using Azure Cosmos DB to store our telemetry data. We have implemented a (geo zone/ geo-fence) feature where we have to check if a point is within a Polygon. To do this, we are using ST_WITHIN(gps_point(GeoJSON),…
Capacity estimations
I recently completed a POC to demonstrate using Cosmos DB in lieu of other data stores currently utilized by my company. As I prepare information to present, I need to be able to speak to cost, part of which involves storage requirements. At the moment…
Azure Function with IoT Hub Trigger and Cosmos DB output
I have an IoT device that sends data in a binary format to an IoT Hub. From there, I need to store the data in Cosmos DB, after presumably converting it to JSON format. My idea has been to set up an Azure Function with an IoT Hub trigger and a…
Cosmos DB Throughput and Monitoring
Hello there, I am trying to setup alerting on our Cosmos DB containers. I have a question around the throughput and the Total Request Unit metric in alerting: Say I have a container with fixed throughput of 400 RU/s, does this translate to 400*60 =…
![](https://techprofile.blob.core.windows.net/images/8e7482a06e664b24a43dfb238c317fe1.png)
Problem with cosmos db mongo db connection
Hi, I would like to ask about data migration. I want to migrate data from my cosmos DB MongoDB 3.2 to cosmos DB MongoDB 3.6 and decided to use ADF. Two weeks ago everything worked well, but now I have an error 2200. I double-checked connection strings.…
Managing/auto-rotating Azure cosmos Db keys using Azure key vault
Does azure cosmos db and key vault provide ways using which the secret can be managed using keyvault similar to Azure Storage account overview-storage-keys-powershell? Funcitonalities required are Onboarding a cosmos db account to keyvault…
TimeoutError and TransportException, DNS resolution timed out
Hi, We're using Azure CosmosDB with the SQL API from the NodeJS SDK. Everything worked fine until last weekend, but since yesterday some of our requests take much longer than usual and occasionally they fail with this error: …
Cosmos db Gremlin API repeat query taking more than 15 seconds to query the data
We are using COSMOS DB Gremlin API for Graph DB. We are storing contact information between two people (vertices) along with some metadata of interaction saved as edge property. A person can connect with any number of people ranging from few to 1000s of…
[Cosmos DB] Randomly get unauthorized using primary password
We've been receiving the unauthorized status upon connecting to the cosmos db when using primary read-only password, and this happens randomly. We also tried with the secondary password, the same issue is happening that it sometimes connects to the db or…
Copy from CosmosDB to CosmosDB Error: "Request size is too large" using Data Factory
I am using the basic Copy wizard in ADF v2. I have a source Cosmosdb in one Subscription, and moving to a new Cosmosdb in a new subscription Database and Containers are configured the same. I have one container that copies 212 of 216 documents and…
Estimate creating index on cosmos DB - mongo
Hi, I migrated database from mongo-db into cosmos db. I followed below url https://datamigration.microsoft.com/scenario/mongo-to-cosmos?step=1 After migrating data into cosmos db, I created index on collection by query: …
Cosmos DB Mongo Optimize cost reads writes
Hi, I migrated from mongo db into cosmos db and I have a trouble with cost. Detail information as below: StorageSize 300GB Collections 200 Object 1500M DataSize …
Error writing data with output bindings
I have an Azure Cosmos DB input binding from which I can query and view existing records However, I've added an Azure Cosmos DB & Azure Queue Storage output bindings to my Azure Function, following the tutorial here. I can read existing…
Access Data in cosmodb using mongodb API with SQL Server PolyBase fails with error
I am trying to access data in my azure cosmosdb using SQL Server PolyBase (cosmosdb was created using "Azure Cosmos DB for MongoDB API) Alert me|Edit|Change type Question You cannot vote on your own post 0 Hi All, I am…
Error while creating collection in cosmos db
Hello everyone, While creating new collection I am getting below error, Does someone have idea on it? All the suggestions are welcome. 2020-08-18 04:55:50.645 DEBUG 10092 --- [ restartedMain] c.a.d.c.internal.RxDocumentClientImpl : Creating a Collection.…
Cosmos DB SDK ReadNextAsync() Throws Exception When Query Has Zero Results (UWP)
Hello, I am using the latest cosmos db sdk (3.12.0 when posted) from a new UWP app. When I call resultSetIterator.ReadNextAsync() I am getting an exception IF the query produces no results. The exception is a CosmosException stating "Response…
SQL API vs MongoDB API
Hello !!! I am in a dilemma between the SQL API and the MongoDB API. I have 2 major questions 1) I like MongoDB. But as I can see from the Documentation, I cannot leverage the Azure Function trigger with MongoDB API. I would like to know what other…
![](https://techprofile.blob.core.windows.net/images/ST1ytBx8IkeeXPAopP6PyQ.png?8D81C6)
![](https://techprofile.blob.core.windows.net/images/ST1ytBx8IkeeXPAopP6PyQ.png?8D81C6)
azure cosmos db error while creating collection
Hi Team, I am facing below error while creating collection in cosmos database. -- Analytical storage cannot be enabled along with encryption at rest using customer managed keys. please provide me help in solving this error sooner. Thanks &…
![](https://techprofile.blob.core.windows.net/images/L0BwwQBABgAAAAAAAAAAAA.png?8D83B2)
Does Cosmos DB support feature like "adaptive capacity"
For the "hot partition" problem, AWS dynamoDB supports adaptive capacity, where the hot partition can have increased limit as long as the total capacity across partitions is still under the limit. …