1,912 questions with Azure Cosmos DB tags

Sort by: Updated
0 answers

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-09T03:29:05.7033333+00:00
Victor H P 0 Reputation points
0 answers

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-07T23:35:25.21+00:00
Sam Azpan D 0 Reputation points
commented 2025-07-09T01:27:27.82+00:00
Mahesh Kurva 5,210 Reputation points Microsoft External Staff Moderator
0 answers

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2021-07-20T10:01:00.06+00:00
Matthijs Hakfoort (Rotra) 6 Reputation points
edited a comment 2025-07-08T22:01:41.3666667+00:00
Graham 41 Reputation points
0 answers

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-07T23:36:52.1633333+00:00
Todd Shelton 0 Reputation points
commented 2025-07-08T15:31:07.2933333+00:00
Oury Ba-MSFT 20,931 Reputation points Microsoft Employee Moderator
1 answer

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-04T06:25:09.4633333+00:00
Rita He 0 Reputation points
edited a comment 2025-07-08T14:25:57.8566667+00:00
Saraswathi Devadula 6,840 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-07T12:49:33.2633333+00:00
Kim Sophan 20 Reputation points
accepted 2025-07-08T14:07:38.71+00:00
Kim Sophan 20 Reputation points
1 answer

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-30T19:41:34.84+00:00
Ben Lister 20 Reputation points
commented 2025-07-07T16:15:58.73+00:00
Mahesh Kurva 5,210 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-07T12:42:35.63+00:00
ramprasad.r 40 Reputation points
edited a comment 2025-07-07T15:44:33.3566667+00:00
ramprasad.r 40 Reputation points
1 answer One of the answers was accepted by the question author.

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
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-07T10:18:33.53+00:00
Varun Padha 20 Reputation points
accepted 2025-07-07T11:08:42.23+00:00
Varun Padha 20 Reputation points
1 answer

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…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-04T12:56:10.2433333+00:00
banto b 20 Reputation points
commented 2025-07-07T01:44:33.56+00:00
Saraswathi Devadula 6,840 Reputation points Microsoft External Staff Moderator
1 answer

Cosmos DB Emulator returns only HTTP 503 Service Unavailable

The local Cosmos DB Emulator used to work fine on my system a couple of months ago, but now it's not responding to any operation from the Data Explorer frontend or a .NET client. System: Windows 11 Enterprise, build 22621 Version: Azure Cosmos DB…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-05-27T13:20:55.8166667+00:00
Daniel Saner 35 Reputation points
commented 2025-07-04T18:51:23.28+00:00
Mattias Irveland 0 Reputation points
1 answer

Running Aspire and Seeing Connection failure from the App Host when starting up.

My program.cs is below. When I start the app up with the container creation commented out everything comes up fine. Uncomment it and I get the error, Failed to connect to 127.0.0.1:9712. I know that is the Cosmos DB. The dashboard that comes up with…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-26T12:35:18.5+00:00
Trent Whiteley 0 Reputation points
commented 2025-07-02T04:16:28.5766667+00:00
Mallaiah Sangi 1,145 Reputation points Microsoft External Staff Moderator
0 answers

Azure Cosmos Emulator

I installed the Azure Cosmos DB emulator and although I can open the manager from https://localhost:8081/_explorer/index.html, when I try to create a database it freezes.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-07-01T08:08:50.08+00:00
Jose Leyder Gutierrez 0 Reputation points
commented 2025-07-02T03:33:22.4433333+00:00
Saraswathi Devadula 6,840 Reputation points Microsoft External Staff Moderator
0 answers

Feature request pending approval Registration request for feature 'Online container copy (NoSQL API)' was successfully submitted. Request pending approval from Microsoft owning service

Hi, I got redirected here from a Microsoft Support ticket. What I actually need help with is to enable a preview feature in three of my subscriptions that is currently in the status Pending. The feature in question is this "Online container copy…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-27T05:16:02.46+00:00
Robin 0 Reputation points
commented 2025-07-01T03:04:37.8466667+00:00
Vijayalaxmi Kattimani 3,410 Reputation points Microsoft External Staff Moderator
1 answer

Cosmos Partition key reached maximum size of 20 GB

I am receiving the error "Partition key reached maximum size of 20 GB" when attempting to persist data to the db. However, when I run the following query, the largest partition is 2.9GB. The error message that I get seems to indicate that the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-29T14:08:07.0533333+00:00
Paul Swanson 0 Reputation points
commented 2025-07-01T03:01:59.3666667+00:00
Vijayalaxmi Kattimani 3,410 Reputation points Microsoft External Staff Moderator
1 answer

Vector Search (DiskANN) on Cosmos DB for MongoDB vCore - M30 Tier Availability

Hi Team, The official documentation for vector search in Azure Cosmos DB for MongoDB vCore (https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/vector-search) states that the DiskANN index is supported on cluster tiers M30 and…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-27T17:56:51.82+00:00
Giovanni Alcantara 0 Reputation points
commented 2025-06-30T21:57:46.1+00:00
Sai Raghunadh M 4,640 Reputation points Microsoft External Staff Moderator
0 answers

Cannot create vector index in Azure CosmosDB for MongoDB vCore

I'm trying to create a vector index in my free tier Azure CosmosDB for MongoDB vCore in location "France Central". I get an error. The same query runs to completion in a Azure CosmosDB for MongoDB vCore database with M10 SKU in another…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-25T19:49:56.3533333+00:00
Peter Pölzl 0 Reputation points
commented 2025-06-30T14:19:35.9133333+00:00
Sai Raghunadh M 4,640 Reputation points Microsoft External Staff Moderator
0 answers

Azure Cosmos DB is not auto scaled to the max allocated RU/s

In my Cosmos DB, I have applied autoscale up to 2000 RU/s onto some collections. While from the Monitor -> Insights, it seems not scaled to the max 2000 but cap at 700 RU/s instead. Please refer to the screenshot below.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-25T09:22:56.33+00:00
John Wong Yek Hon 0 Reputation points
commented 2025-06-27T13:08:31.53+00:00
Mahesh Kurva 5,210 Reputation points Microsoft External Staff Moderator
0 answers

how to perform vector store ..

how to perform vector store .. currently Vector search in Azure Cosmos DB for MongoDB accounts using the Request Units (RU) model (version 7) is not supported. do we have any other option to set up vector db for application

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-25T09:09:00.86+00:00
VinothKumarR 0 Reputation points
commented 2025-06-27T12:54:47.74+00:00
Mahesh Kurva 5,210 Reputation points Microsoft External Staff Moderator
1 answer

When will Azure Managed Cassandra is expected to be in Japan East/West region?

Hello, Could we pls get information on When Azure Managed Cassandra service is expected to be available in Japan region (east/west) ? As per current state, it is only supported in below regions: US(E, W, E2, W2, Central, S Central), N Europe, W Europe,…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,912 questions
asked 2025-06-16T10:24:24.9866667+00:00
Shubhranshu Thakur 0 Reputation points
commented 2025-06-26T15:00:48.0366667+00:00
Oury Ba-MSFT 20,931 Reputation points Microsoft Employee Moderator