Questions tagged [azure-cosmosdb]

Azure Cosmos DB is Microsoft's fully managed and serverless distributed database with support for NoSQL and relational workloads. It offers global distribution across all Azure regions transparently replicating your data wherever your users are. Develop applications using open-source database engines, including PostgreSQL, MongoDB, and Cassandra. Get automatic scalability, enterprise-grade security, and cost-effective consumption-based pricing.

Azure Cosmos DB is a fully managed, distributed NoSQL and relational database for modern app development. Get single-digit millisecond response times and up to 99.999-percent availability, backed by SLAs. Build cloud-native apps quickly and easily using your preferred tools with support for open-source PostgreSQL, MongoDB and Apache Cassandra. Enjoy automatic and instant scalability, and fast writes and reads anywhere in the world with turnkey data replication and multi-region writes. Gain insight over real-time data with no-ETL analytics using Azure Synapse Link for Azure Cosmos DB.

7404 questions
2
votes
1 answer

Azure Search Indexer fails to create when trying to index fields with special characters in the name

I am trying to create an Azure Search indexer and i am getting the following error message: "Azure Search notification Import configuration failed, error creating Index: "The request is invalid. Details: definition : Invalid field name: '@type'.…
Hugo Barona
  • 1,303
  • 9
  • 21
2
votes
1 answer

Azure Search Index with CosmosDB Collection with ShardKey and MongoAPI

I have a problem with Azure Search and a CosmosDB with ShardKey and MongoAPI. My AzureSearchIndexer fills my AzureSearch index with 180,000 records, but all properties are null. Therefore, I believe that my database connection works but somehow the…
Thomas
  • 216
  • 3
  • 8
2
votes
1 answer

Rename property with Gremlin in Azure Cosmos DB

Some of our codebase has changed, so it now expects the vertices that used to have a property with the name "Sdg" to now have a property with the name "causeType" and with the same value instead.... In short, a renaming of the property. I have tried…
oPolo
  • 516
  • 3
  • 14
2
votes
2 answers

CosmosDb First Connection Can Take many Seconds

I am testing CosmosDb. I am finding the initial connection usually takes many seconds.I have written a small .net core 2.2 Console App to demonstrate the problem. static async System.Threading.Tasks.Task Main(string[] args) { …
Paul Stanley
  • 1,999
  • 1
  • 22
  • 60
2
votes
1 answer

Dynamics 365 virtual entities from Cosmos DB

The “Azure Cosmos DB for DocumentDB API Data Provider” does not seem to be actively maintained and I was not able to get it to work in D365 CE. I would like to use my Cosmos TB to be the source for some virtual entities in my CRM and the only way I…
jhoefnagels
  • 359
  • 1
  • 7
  • 21
2
votes
2 answers

How is the correct way to use CosmosDb with documents bigger than 2 Mb

I am using Azure CosmosDb as the database of my application. Let's say that I need to save all the countries and cities and streets in my database. So, I would have an item who looked like this: { country: Brazil, size: 1000, population:…
Artur Quirino
  • 486
  • 6
  • 21
2
votes
2 answers

CosmosDB C# SDK ProyUrl missing

I am working on a containerized micro-services project (docker) in .NET Core targeting Azure. So we are using Azure Cosmos DB, and the C# Cosmos DB SDK (v2.4 since v3 is only in preview) for the CoreSql Api. During development, I am behind a proxy,…
EricBDev
  • 1,279
  • 13
  • 21
2
votes
4 answers

How to Limit request per Second in Async Task C#

I'm writing an application which interact with Azure Cosmos DB. I need commit 30,000 Records to CosmosDB in a Session. Because I used .NET Core so I cannot use BulkInsert dll. So, I use Foreach loop to Insert to CosmosDB. But I see too many request…
TuanDPH
  • 461
  • 5
  • 14
2
votes
0 answers

CosmosDB Multi-Model read/write on a single database

In Build session #BRK3060 Mark Russinovich demos some code that uses both the SQL and Graph APIs on the same database (starts at 45:27): https://www.youtube.com/watch?v=S2zguwKvlQk Does anyone have any insight into these read/write using multiple…
finarne
  • 51
  • 6
2
votes
1 answer

Unable to query Cosmos DB using numeric partition key

I am trying to use a numeric field as a partition key but I am unable to run stored procedures on them. I am not sure if I am doing something wrong or if it is not possible. I have two collections with two different partition keys. A sample document…
2
votes
2 answers

Is there something fundamentally wrong with this .find function? (Mongoose)

const cleanMongo = (name) => { Item.find({ name: name }, (foundItem) => { console.log('found item equals', foundItem) }); For some reason, the .log is always says the search returns with null, when it should be returning…
ThirdGhostHand
  • 377
  • 5
  • 19
2
votes
1 answer

Connect to Cosmos DB account using Azure Managed Service Identity

Is it possible to connect to Azure cosmos DB using MSI the same way as it is possible for Azure SQL? That's how it works for Azure SQL Server using (var connection = new SqlConnection(connectionString)) { connection.AccessToken = await new…
VinSmile
  • 756
  • 6
  • 10
2
votes
1 answer

Reducing Provisioned Throughput for CosmosDB

I have a cosmosDB that had 4 containers and 400RUs provisioned at the database level. I added 2 containers and without warning the provisioned RUs was increased to 600. The document below explains why this happened. Each container above the 4th…
Hamish Anderson
  • 597
  • 6
  • 10
2
votes
0 answers

Bulk Delete in Azure Cosmos Db from powershell

I am using Microsoft.Azure.CosmosDB.BulkExecutor to implement BulkDelete in Azure Cosmos DB. And I am using powershell script to call the bulkexecutor methods. But the BulkDelete method is returning null when the $idAndPartitionKeys is not empty.…
DevMJ
  • 331
  • 1
  • 5
  • 17
2
votes
1 answer

Azure cosmosdb changefeed for document collection

Is it possible to register a service running on a cluster node as observer to changefeed for a document collection across multiple cosmos db accounts in th cluster? In the case of an Azure Function(triggered by ChangeFeed of a document collection),…
Vanathi
  • 195
  • 4
  • 18