Questions tagged [request-unit]

5 questions
4
votes
1 answer

Handling Request Units per Second (RUs/s) Spikes in DocumentDB

One of the most difficult things with DocumentDB is figuring out how many Request Units per Second (RUs/s) you need to run your application day to day but also during usage spikes. When you get this wrong, the DocumentDB client will throw…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
1
vote
0 answers

What are the usual RUs values you expect when you run simple queries?

I started a short time ago to experiment with gremlin and cosmos DB, with the idea of doing a prototype for a project at work. How do I know if a "Request charge value" is good or bad? For example, I have a query to get a list of flats located in a…
Nils De Winter
  • 1,370
  • 3
  • 11
  • 20
1
vote
1 answer

In node.js, how do I get Request Unit Charges from call to DocumentClient.queryDocuments()?

I'm using the queryDocuments() method from the node.js client for the first time. I've previously used readDocument(), executeStoredProcedure(), replaceStoredProcedure(), etc. and all of those return a header object that allows you to inspect the…
Larry Maccherone
  • 9,393
  • 3
  • 27
  • 43
0
votes
1 answer

Does the azure cosmos db for mongo db RU consumption depend on collection size?

I am using Azure cosmos db for MongoDB. A collection in the DB has 5 million+ documents. Can this cause in increased Request Units consumption? Will the cost decrease if I remove unwanted documents from the collection. I am doing read and write…
0
votes
1 answer

How to get RU of a query in Dependencies through Application Insights Analytics Tool?

I want to find RU of each query through application insight analytics tool. I've run the following query: dependencies | where type == "Azure DocumentDB" But there is no sign for RU of the run query. Also, there is not any thing in customDimensions…
OmG
  • 18,337
  • 10
  • 57
  • 90