Content
Point Read has higher RUs than equivalent query
We have 2 documents in a container that is being used for testing. 1 of them is small (<1KB) and 1 of them is relatively large (~60KB). The following query which returns both documents (in full, of course) costs 3.17RU: SELECT * FROM c Performing a…


Failed request to Azure Cosmos DB service
In Application Insights, we have traces indicate that an exception occurred while trying to add an entity document to CosmosDB. The reason for the failure is that the service was unavailable (ServiceUnavailable) with a sub-status code of 20006. If we…


Is it possible to create a pre-seeded docker image based on mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator?
To give our team a ready to query cosmos db container, pre-seeded with our data, I am trying to build a docker image based of mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator My idea was to do something like this: FROM…


How to use order by on the HighWaterMarkChangeDetectionPolicy field with the search service API
Hello, I'm currently work on solution of azure cognitive search with multiple cosmos db indexers. I use .NET SDK to configure my indexes and indexers. I set up the HighWaterMarkChangeDetectionPolicy on the _ts filed of my cosmos documents. I set up the…


Hierarchical partition not distributed equally across physical partitions
I have been working with hierarchical partitions and noticed some behavior where documents with the same primary partition key are always put into the same physical partition. Even though they all have a different secondary partition key and I have more…


With Cosmos db and Postgres would it be efficient to partition on column?
Hi This is concerning: Azure Cosmos DB for PostgreSQL I have this table structure. It is a record over alle events (inserts, deletes and updates) on my server. The catalog column indicates from where the events originates from. There will be 100.000.000…


How to enable "Allow public access from Azure services and resources within Azure to this cluster" for Azure Cosmos DB for PostgreSQL Cluster using CLI?
Hi, For my deployment script, I would like to know how can turn on the option "Allow public access from Azure services and resources within Azure to this cluster" in a "Azure Cosmos DB for PostgreSQL Cluster" resource by using CLI? Or…


is that possible to prmote the cosmos db nosql account to standalone
i got stuck with below queries, 1.was trying to promote the cosmos db for disaster recovery using CLI, need support.


Cosmos DB - Failed to delete CosmosDB containers after 2023-03-23
When I try to use the CosmosDB Java SDK and NodeJS SDK to delete a container, I encounter an error message like the one below. Error: Unknown server error occurred when processing this request. ActivityId: 9301c0e8-959a-4d7c-b571-cf2256ed7153,…
Azure Cosmos change feed Apache Gremlin with Azure functions
Hello everyone! I would like to know how to "subscribe" to change feed of Azure Cosmos DB based on Apache Gremlin. I've tried to subscribe using Azure Function App (Cosmos DB trigger using Python client), but it didn't log any changes. I used…


How to do a bulk upload of 17.6M records in cosmos db for mongo api instance in less than an hour?
Currently I am using a serverless instance of Cosmos db for mongo api in Canada East region. It takes almost a day to write 17.6M records to the cosmos instance. I have enabled the server side retries and I am using only a single instance of mongoClient…
Does Azure Cosmos DB for PostgreSQL support logical decoding?
Hi, I want to use debezium to stream CDC events from the Azure Cosmos DB for PostgreSQL cluster. But it seems that I cannot create a user (role) with REPLICATION privilege via the citus user. So how can I get a user with REPLICATION privilege? FYI:…
Cosmos DB - Failed to change the ID after it has exceeded 300 characters.
On 2023-03-23, we create a new CosmosDB Account. And then we found something wrong. Failed to change the ID after it has exceeded 300 characters. we change the ID of the data to one over 300 characters. it succeeded After that, failed to change the…
Getting Error While doing Bulk Delete Cosmosdb Documents using Stored Procedure through Rest API
I've created a database and a collection. When creating the collection, the partition key was a required field so I used 'Date' field as partition key. I have created stored procedure to perform bulk documents delete from the collection in the cosmos…


Cosmo DB docker linux does not work on custom port
Hello, I am facing the same problem as it was described here https://github.com/Azure/azure-cosmos-db-emulator-docker/issues/50 Basically, I would like to run cosmos DB container using a custom port (not 8081). If I have my application running as a…


Can Resource Token be used for accessing Cosmos Table API from clients
I am currently using Azure Table Storage and use SAS Tokens to access data from clients. I am planning to move to Cosmos DB Tables, but SAS Tokens are not supported in Cosmos DB Tables. So, is it possible to use the Resource Tokens to access Cosmos…


TLS exchange FAILS between Azure cosmos db and client Node 18.14.2 openssl 3.0.8+quic
Hi, I have setup Azure cosmos db and written a simple conn.ts script to create document in cosmos db. I am using Node 18.14.2 which has built-in openssl 3.0.8+quic in it. I am getting an error as shown below: **The same code works fine with Node version…


Is security an issue when configuring & deploying an Azure Cosmos Change Feed Function App?
When I am creating a Cosmos Change Feed Function do I care about Publicly visibility Authorization Level (Function, Anonymous, Admin) Thanks Siegfried


Combining Data from Two CosmosDB Containers Using Azure Data Factory
I am working on a project where I need to combine data from two different CosmosDB containers and save the result in a third container using Azure Data Factory (ADF). I have two containers, one containing a nested array of products, and another with…


Cosmos DB always encrypted Bicep Support
Hi, I am working on always encrypted feature of cosmos DB, however not able to find documentation on how I can create Data encryption key & create a container with encryption policy as always encryption does not have Bicep or ARM support.

