getaddrinfo ENOTFOUND poc-mongo-XXX.mongo.cosmos.azure.com
I have created an Azure Cosmos DB for MongoDB (vCore) instance with public access enabled. There are no firewall rules blocking access, and no VPN or VNet/private endpoint configured. I'm attempting to connect to the database using MongoDB Compass with…
Azure Cosmos DB
Azure Cosmos DB with mongo don't support .sort operation ?
Hi, after trying to query data from cosmos db (configured for mongo), but I got error on .sort({"at": -1}) Everything works on localhost mongo db very well, but not in azure. Trace back from python is: 2024-04-09T13:02:08.1267872Z Traceback…
Azure Cosmos DB
Suddenly unable to access Azure Cosmos DB(Mongo)
Suddenly from today morning, azure cosmos db is not accessible. it says online. but i am unable to connect using my code, or view data in data explorer it says Failed to retrieve collection list. Please click Refresh to try again.Failed to retrieve…
Azure Cosmos DB
How to fix mongodb vcore for cosmos connectivity issue thre is no ip restriction?
I'm unable to get dns response from the cosmos DB and the error that is thrown is Failed to retrieve server info MongoServerError: [ActivityId=a4e39d36-7523-101c-616b-f9d205000000] User info is null when extracting the single user role When application…
Azure Cosmos DB
Cosmos DB using incorrect composite index
My sql query is: SELECT * FROM c WHERE c.ResourcePartition = 'abc123' AND c._ts >= The container has 2 composite indices: "compositeIndexes": [ [ { "path": "/ResourcePartition", …
Azure Cosmos DB
mongodb storage upgrade is stuck from 40+ minutes
upgrading mongodb storage is this is stuck, mongodb storage upgrade is stuck from 40+ minutes
Azure Cosmos DB
Azure Cosmos DB Key-Value Tables Core (SQL) vs Table API
Both Core (SQL) API and Tables API work with data in Key-Value table. What are the considerations for choosing one over the other? In practice is there a default choice ... like unless one needs to be able to: a) condition 1 b) condition 2 …
Azure Cosmos DB
I need to recover my cosmos db data that i accidentally deleted
I have accidentally deleted some report data in my cosmos DB, please help me recover it
Azure Cosmos DB
Is Cosmos Db Gremlin API deprecated?
I'm unable to create a new Cosmos DB Gremlin API instance in any North America region. Does this mean that Microsoft is phasing out Cosmos/Gremlin API?
Azure Cosmos DB


Cosmos DB, containers, and selecting the most appropriate partition Key!
I am looking for advice on selecting the most appropriate partition key/hierarchical partition key. Basically, we are building a marketplace for private car sales. The "car listing" will include car details, make, model, trim, etc. the model…
Azure Cosmos DB
Cosmos for NoSql DB: ServiceUnavailable (410), BadRequest on Cross-Partition Query – Unable to Access Collection
We are consistently encountering errors when querying a specific Azure Cosmos DB collection. The issues are as follows: ServiceUnavailable (410): The service returns a 410 status code indicating it is currently unavailable. According to the…
Azure Cosmos DB
Cost analysis to access cosmos container with 30 concurrent users
I want to support 30 concurrent users to fetch 50,000 records from Cosmos container, each record is of size 20kb approximately. When i tried it took around 36,000 RUs to fetch records for one user. Considering this i have come up with cost analysis, not…
Azure Cosmos DB
How to set a timeout for queries in Cosmos DB for NoSQL
When using the Azure Cosmos DB Python SDK, I want to set a query timeout to avoid long waiting times. However, when I tested it with the following code, the timeout setting didn’t work as expected. Does this SDK support setting a timeout for…
Azure Cosmos DB
Handling Large Graph Datasets and RU Limits in Production
Our graph in Azure Cosmos Gremlin is designed to support a social media app, consisting of four types of vertices: member, channel, event, and comment. These vertices are connected to each other through various types of edges, such as member follows…
Azure Cosmos DB
Cosmos DB usage spike tonight
We have a Cosmos DB instance and saw a large and unusual spike in data usage tonight. After the spike, the data usage went back to a level significantly higher than before. How can I find out whether this was due to Azure doing something or whether we…
Azure Cosmos DB
cosmos db container collection list not showing data
Containers **IDDatabaseThroughput (RU/s)**Failed to retrieve collection list. Please click Refresh to try again.Failed to retrieve collection list. Please click Refresh to try again.Data Explorer - querying returns "Error sending request: failed to…
Azure Cosmos DB
Adding 'Cosmos DB Built-in Data Reader' (or equivalent) role assignment to Cosmos DB
I want to use my Azure AI search service to index my Cosmos DB, following a modified version of https://github.com/Azure-Samples/azure-search-python-samples/blob/main/Tutorial-RAG/Tutorial-rag.ipynb When I try to create the indexer with: indexer_client…
Azure Cosmos DB
How to fix the cosmos db 403 and 404 while going inside azure cosmos db insights or filtering
Alert Activated Because: Metric nameTotalRequestsMetric namespacedatabaseAccounts/test DimensionsGlobalDatabaseAccountName = test cosmosStatusCode = 404 IsExternal = TrueTime AggregationCountPeriodOver the last 15…
Azure Cosmos DB
Unable to Access India Location in Azure Cosmos DB for MongoDB RU
In Azure Cosmos DB for MongoDB RU, access to the India location is not available. Access is needed due to an upcoming soft launch in India. What steps can be taken to resolve this issue?
Azure Cosmos DB
CosmosDB Point in Time Restore issue
Hi all, I am trying Cosmos DB backup continuous mode. Despite what I understand from the doc in reality I see that is not possible to restore (deleted) records within a container in the same account. As a test I have deleted few records and I am…