1,518 questions with Azure Cosmos DB tags

Sort by: Updated
0 answers

CosmosDB NodeJS SDK query Timeout

Hello, I am having an issue with a timeout using the Cosmos NodeJS SDK within an async Azure function (HTTP Trigger). I followed the tutorial found here to build the same example. Is this an issue with the async flow or the Cosmos connection? My code…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,566 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-24T19:49:01.583+00:00
Jason Ortiz 1 Reputation point
commented 2020-07-01T20:13:53.207+00:00
Jason Ortiz 1 Reputation point
1 answer

List Usage API for DB Account is not working Properly

Hi Team , I was using below API to fetch the usages of the DB Account, I was not really successful for fetching the Document Count and other custom filter parameters (Index Size,Storage Capacity)... It is working only for Storage Metric which is…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-23T12:43:35.147+00:00
Ravi Teja Manchikanti 46 Reputation points
commented 2020-07-01T01:32:25.4+00:00
Mike Ubezzi 2,776 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Data Factory Data Copy from Cosmos

We have one scenario, where we have to transfer/copy newly added/updated data from cosmos dB to a SQL Server every 2 hours. Currently, data copy copies all the files, can I configure to only copy the newly added/updated ? Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,566 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,012 questions
asked 2020-06-26T03:57:27.08+00:00
Tahmid Eshayat 286 Reputation points
commented 2020-06-27T13:57:22.137+00:00
Tahmid Eshayat 286 Reputation points
1 answer One of the answers was accepted by the question author.

Logic Apps and CosmosDB - Partition Key Troubles

Hello and thanks for reading! I am trying to migrate from an Azure Table Storage instance to CosmosDB as the backing store for my logic app. The logic app is a webhook from Azure DevOps that records selected release information into a table. I've…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,963 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-17T16:09:14.903+00:00
David Leek 21 Reputation points
accepted 2020-06-26T20:11:18.19+00:00
David Leek 21 Reputation points
1 answer

Composite index on nested field

I'm having an issue creating a composite index on a nested field in our collection. Is this even possible? { "indexingMode": "consistent", "automatic": true, "includedPaths": [ { "path":…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-23T21:11:53.85+00:00
kevin eckart 26 Reputation points
commented 2020-06-26T02:31:17.663+00:00
Navtej Singh Saini 4,221 Reputation points Microsoft Employee
0 answers

Status code 449 on read-only workload

I am running a batch process using version 3.8 of the .Net core client SDK to access Cosmos DB with an entirely read-only workload; no write operations are occurring on the cosmos account at the time this process is running. In the metrics reports in…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-03T22:03:47.083+00:00
Paul Hickman 1 Reputation point
commented 2020-06-25T18:50:02.047+00:00
Mike Ubezzi 2,776 Reputation points
2 answers

Unable to peroform Patch operation on DB Account

Hello , Im trying to update Virtual network on Cosmos DB Account, though I dont see any activity on that particular Account I see below error while using Patch Rest API There is already an operation in progress which requires exlusive lock on this…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-10T14:22:04.23+00:00
Ravi Teja Manchikanti 46 Reputation points
commented 2020-06-23T05:54:55.51+00:00
Ravi Teja Manchikanti 46 Reputation points
3 answers One of the answers was accepted by the question author.

CosmoDB Mongo Firewall not blocking unauthenticated connections

I've set up Firewall CIDRs in my-mongodb -> Firewall and virtual networks, as per https://video2.skills-academy.com/en-us/azure/cosmos-db/firewall-support However, I'm seeing very strange behaviour: If I try to connect from a whitelisted IP, the…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-18T21:24:37.203+00:00
cpollfh 26 Reputation points
commented 2020-06-20T04:01:33.503+00:00
cpollfh 26 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to connect to Cosmos DB through Cassandra API(gocql)

I have provisioned a Cosmos DB (Cassandra API) instance on Azure. I'm able to connect to it through cqlsh. But, getting different errors when trying to connect to it through gocql. The following code generates this error: gocql: unable to…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-17T12:16:19.217+00:00
Velvaluri, Vivek 41 Reputation points
accepted 2020-06-18T16:35:10.157+00:00
Velvaluri, Vivek 41 Reputation points
1 answer One of the answers was accepted by the question author.

Does azure cosmos db cassandra api support compound primary key?

Referring to https://docs.datastax.com/en/cql-oss/3.3/cql/cql_using/useCompoundPrimaryKeyConcept.html. I have a schema in which I have multiple primary keys which is something similar to this: CREATE TABLE cyclist_category ( category text, points…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-12T09:43:03.237+00:00
Bhat, Vivek (NonEmp) 21 Reputation points
accepted 2020-06-17T13:12:15.367+00:00
Bhat, Vivek (NonEmp) 21 Reputation points
2 answers

Cant we use Key Valut URI from an API to create cosmos DB Account ?

When I invoke the api with the payload containing keyvaulturi parameter I get the status failed. Failed to refresh the collection list. Please try again later. Can any one help please

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-11T08:10:28.313+00:00
Ravi Teja Manchikanti 46 Reputation points
commented 2020-06-16T09:20:22.947+00:00
KalyanChanumolu-MSFT 8,316 Reputation points
2 answers

How to order documents in a Cosmos DB collection by the time inserted

We are building a large platform where we want to expose events to many subscribers. We have decided we want to expose the events through a REST-API to be able to support all our use cases. We are not able to use event hub or Kafka since we need…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-14T06:11:14.85+00:00
Rune Larsen 1 Reputation point
commented 2020-06-14T18:41:27.603+00:00
Rune Larsen 1 Reputation point
1 answer One of the answers was accepted by the question author.

Cosmos DB Throttled Requests

Hi there, I have a few thousands request every 30 secs. I have autopilot mode on with 4000 RU/s. But I can see I'm getting lot of throttling requests. I'm currently storing all the insert functions into a task and then using Task.WhenAll. …

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-03T06:38:50.127+00:00
Tahmid Eshayat 286 Reputation points
commented 2020-06-09T23:48:31.293+00:00
Tahmid Eshayat 286 Reputation points
1 answer

Failure creating: documentdb.DatabaseAccountsClient#CheckNameExists: Failure responding to request: StatusCode=500

An issue has already been raised on GitHub for the Terraform provider for AzureRM - however based on previous problem identical with this it was identified as a MS issue: New issue raised:…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-02T16:52:59.557+00:00
Sean Steefel 1 Reputation point
commented 2020-06-05T20:43:58.457+00:00
Navtej Singh Saini 4,221 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to force CosmosDB physical partitioning?

Is there a way to force physical partitioning or replicate what happens when passing 50GB? We need to replicate this behavior in an azure hosted dev environment. The dev environment has a 5GB collection, while the production has passed 50GB. This…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-06-04T13:49:49.087+00:00
kiruva 21 Reputation points
accepted 2020-06-05T05:10:21.557+00:00
kiruva 21 Reputation points
0 answers

Can't create cosmos sql database with shared throughput

Hi, After deploying a Cosmos-db sql instance through an arm template I cannot create databases with shared throughput. I get the following error: Message:…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-05-20T11:16:24.8+00:00
Aske Jenstrup Olsson 6 Reputation points
commented 2020-05-27T20:37:26.29+00:00
Mike Ubezzi 2,776 Reputation points
1 answer

Azure cosmosdb connection

We are facing below connection issue with Azure cosmos DB, Exception type : System.Net.Sockets.SocketException Failed method : Gremlin.Net.Driver.WebSocketConnection+<ConnectAsync>d__4.MoveNext Is this something happen due to low RUs in…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
asked 2020-05-22T08:50:27.97+00:00
Sachin Prajapati 1 Reputation point
commented 2020-05-25T12:44:49.587+00:00
Yuji Masaoka 56 Reputation points
1 answer

Unable to publish grandnode where mongodb is database

I have published my asp.netcore app which uses mongodb as database from visual studio, but while installing it, it is unable to create database or may be error while connecting database, error is as given below: A timeout occured after 30000ms…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,268 questions
asked 2020-05-11T23:28:39.353+00:00
Bhanu Pratap Singh 1 Reputation point
answered 2020-05-19T18:26:30.157+00:00
Mike Ubezzi 2,776 Reputation points