Backup Cosmos DB
Bom dia! estou com dificuldade para fazer backup do meu banco, estou utilizando a versão free do cosmos db até 32gb, mas meu banco é bem menor que isso. Quando rodo o backup via script ou por ferramenta como mongo db compass, em ambos apresenta erro pra…
Change Azure Cosmos Db account from Provisional throughput to serverless
I am new to cosmos db and I realised after creating my database and after having it running for a while that it would be more cost effective if it would be running a serverless account. Is there a way I can change it? If not what would be the recommended…
I want to get permission to create schema in COSMOS DB for postgresql
I am currently working on migrating data from AWS Aurora database to Azure Cosmos db for postgresql. I tried to use airbyte as a tool for that, but when I connect cosmos db as target database in airbyte, I get an error saying that I don't have permission…
How to use odata query on cosmos DB
I have the OData query with the filter, I need to apply the query on the cosmos DB and get the filtered results with the pagination. Is there any way I can convert the OData query into SQL query or any other better approach or is there any documentation…
How to Fix Startup Error in Cosmos DB Emulator on Windows
I downloaded and ran the setup for Cosmos DB Emulator. (https://aka.ms/cosmosdb-emulator) The installation completes successfully, but when trying to run the emulator, the following error message is shown: Afterward, the emulator shuts down. Attempts…
How to fix cosmos db latency in non primary region
We are using Azure CosmosDB with both EUS/WUS regions in PPE environment. We are observing more latency in WUS region. In our EUS service the Read latency is below 100 ms which is the CosmosDB primary region. But Read latency is around 400ms our WUS…
Regions for Cosmos Db
I a new user to Azure Cosmos and I’m currently exploring its capabilities. Im looking to understand how I can determine the available regions for deploying Cosmos DB in my account. Are there any specific steps to check available regions for a new…
Azure Cosmos DB for MongoDB (vCore) - not available in Switzerland
We currently have build the whole system around a Azure Cosmos DB for MongoDB (vCore). as our customer do have more data privacy concerns, we're thinking about to change the hosting from west europe to Switzerland. But it seems to be not available in…
Postgres for Cosmos DB stuck creating standby
Hi, Was wondering if anyone encountered this before. I had a basic postgres Cosmos setup for evaluation, then i scaled up the machine as it started to need a few more resources. Now it's been stuck "Creating standby" for a few days. I'm running…
Which .NET SDK to Use for Creating Database or Container in CosmosDB
Hey All, I am developing an application that utilizes CosmosDB, running as a container in Azure App Service, and have opted to implement RBAC roles using the Managed Identity of the App Service. Following the sample code from…
disableLocalAuth for cosmos db
Attempting to use RBAC authentication to connect to Cosmos DB results in different behaviors based on the disableLocalAuth setting. When disableLocalAuth is set to false, the connection to Cosmos DB is successful, and data can be retrieved. However,…
How to scale throught partitioning CosmosDB to handle billions of documents
At my company we have a mongo collection hosted on CosmosDB that has reached 180 million records that is currently sharded. Sadly and painfully, the chosen partitioning strategy has been shown to be really bad: suffers both from the scatter/gather…
Does Azure Cosmos DB support tinker pop/gremlin-go driver
Hello, I am looking at the documentation for Azure Cosmos DB Gremlin compatible client libraries: https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/support#compatible-client-libraries I am interested in a current go driver. I see gremcos listed…
Vector Search in Azure Cosmos DB for NoSQL
Hello, I would like to create a container for building a RAG solution with Azure Cosmos NoSQL: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/vector-search This works if i create the BD via python, but i cannot find any reference in the API…
Does Azure Cosmos Gremlin Supports Transaction Management?
Im trying to achieve transaction management in cosmos gremlin. Like i should be able to create some nodes and edges in a single transaction, if one of the operation fails the entire transaction should be discarded, like in sql terms commit and rollback.…
Azure Cosmos DB for PostgreSQL. Prepared statement error
I am running into issues regarding the pgbouncer connection pooling in Azure Cosmos DB for PostgreSQL: https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/concepts-connection-pool. The issue is that I get the error: "prepared statement…
Replicate Azure Cosmos DB for PostgreSQL into different resource group than primary cluster
On it states... https://learn.microsoft.com/en-us/azure/cosmos-db/postgresql/concepts-read-replicas Cross-region replication Read replicas can be created in the region of the primary cluster, or in any other region supported by Azure Cosmos DB for…
Issue with Error Code 48 When Connecting to MongoDB in Azure Functions
I'm currently deploying my project on Azure Functions, with each function running in a separate function app. I’m using a centralized MongoDB database through Azure Cosmos DB for MongoDB and accessing it with Mongoose, including defined schema files.…
Composite Index for Items in Azure CosmosDB Container
Hello Community, I am trying to create a container in my Azure CosmosDB account. I have enabled the Vector Preview feature for my container. I have a data that looks like this: - {"id": "6", "Context": […
Connection Pooling with Azure COSMOS Python Client
I am using the below code to retrieve items from Azure COSMOS DB. This code is part of a WebAPI and the code will run in multiple threads. Which of the following objects are thread-safe: db_client, database, container ? Can I create a singleton for…