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

Copy-activity from Blob Storage-Account to CosmosDb is very slow

Situation: I'm using the copy-activity from azure-data-factory to copy one json-file with 500 MB from a storage-account-blob to CosmosDB and from CosmosDb to a storage-Account-blob The AzureBlobStorageLinkedService is configured with a…
2
votes
1 answer

How can I create a Graph in CosmosDB from Code

If I want to connect to CosmosDB which is created with Gemlin API is works fine with Gremlin.Net But the Gremlin.NET API is designed to handle on Graph. I think because the Neo4j and other Graph databases can handle one graph in one time. And I…
György Gulyás
  • 1,290
  • 11
  • 37
2
votes
1 answer

Using callback with CosmosDb Node.js SDK?

I'm migrating an app from Azure Functions v1 to v2. The old app uses callbacks, and I prefer to stick to it so I won't mess up the app logic. I need to get data as array, and then within the callback, perform the app logic. However, while using…
Mahdi
  • 1,089
  • 1
  • 14
  • 27
2
votes
1 answer

cosmos not returning any records when using table api

How do you query the database to return records using the table api? My documents look like this: { "id": "069c2612-355a-4659-b680-048b7ef19f5c", "_rid": "3RtVAMJ2mQkBAAAAAAAAAA==", "_self":…
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062
2
votes
0 answers

Azure Cosmos db document versioning support

I am novice to cosmos db, can anybody please help me if cosmos db REST interface has support for document versioning. I am aware that it has good support for document querying but not sure about versioning.
Sagar
  • 37
  • 1
  • 7
2
votes
1 answer

"Endpoint not reachable. Refresh cache and retry" Azure Cosmos DB SQL API, .NET SDK

I am using .NET SDK Microsoft.Azure.DocumentDB to work with cosmos db on Azure. I've a problem when my network cannot connect to cosmos db (proxy, network, ...) Example: this.client = new DocumentClient(new Uri(EndpointUrl), PrimaryKey, new…
Duc Nguyen
  • 530
  • 8
  • 16
2
votes
0 answers

Cosmos Emulator running in Docker container does not export certificate

I am trying to run the Cosmos emulator in a docker container, following the instructions on the docker hub. When I start run the container: md $env:LOCALAPPDATA\CosmosDBEmulatorCert 2>null docker run -v…
Aidan
  • 4,783
  • 5
  • 34
  • 58
2
votes
2 answers

CosmosDB Error while fetching page of documents: {"code":400,"body":"Command find failed: Unknown server error occurred when processing

I'm new to CosmosDB and have used Data Factory to import some test data from a BLOB into a CosmoDB container. The Monitor screen tells me it was successful. I then went to the Azure portal, opened my container and clicked 'Documents' but this does…
Reddspark
  • 6,934
  • 9
  • 47
  • 64
2
votes
3 answers

Using GraphQL to connect to CosmosDB?

Is there a path to follow where you can interface with Azures CosmosDB using GraphQL along with an Azure Functions interface if there needs to be a place where logic is executed.
meds
  • 21,699
  • 37
  • 163
  • 314
2
votes
2 answers

How can I do pagination in cosmosDB?

I am trying to do a pagination with a Cosmos db but something was wrong with the skip command. var resultDTO = this.client.CreateDocumentQuery( UriFactory.CreateDocumentCollectionUri(idDatabase, idCollection), queryOptions) …
CMorillo
  • 191
  • 1
  • 10
2
votes
2 answers

How to query a document property from CosmosDb dataset in Azure Data Factory

With Azure Data Factory I have a CosmosDb Dataset and picked a Collection from the dropdown list. My Pipeline contains an Activity Copy Data and picked the Source Dataset mentioned above. Option 'Use Query' is set to Query so I have a textbox…
321X
  • 3,153
  • 2
  • 30
  • 42
2
votes
1 answer

"Request rate is large" while running mongorestore to CosmosDB

I'm attempting to dump and restore from my local Mongo DB to Azure Cosmos DB and I get the error "Request rate is large" My database is 9.3MB with 116 collections. I'm guessing by restoring collection by collection it will work. Is this the only…
Primico
  • 2,143
  • 3
  • 24
  • 36
2
votes
1 answer

Strange query results in Azure Cosmos DB

I have following documents in my Azure Cosmos DB: { "id": "token", "User": { "UserToken": "token", "Email": "test@email.com" }, "_ts": 1541493290 } When I run the following query: SELECT * FROM root WHERE…
Piotr Stapp
  • 19,392
  • 11
  • 68
  • 116
2
votes
2 answers

Can you share the lease collection for Azure Cosmos DB Change Feed?

If we have the following: 1 Azure Cosmos DB account 4 databases Each database contains 1 collection Would we be able to add 1 new database containing 1 new collection and use that collection as the lease collection for monitoring changes to the…
Tom Robinson
  • 8,348
  • 9
  • 58
  • 102
2
votes
1 answer

Azure Stream Analytics Job degrading while pushing data to cosmos DB

I Have data getting pushed from Azure IoT Hub -> Stream Analytics -> CosmosDB I had 1 simulated device and my cosmos DB collection was of 1000 RU/s working fine . now i have made it 10 simulated devices and my Cosmos DB collection scaled to 15000…
1 2 3
99
100