Cosmos DB provisioned throughput calculation

Ihor Dyrman 181 Reputation points
2021-02-08T19:52:29.907+00:00

I have a database with enabled option "Provision database throughput". I chose 400 RUs as my throughput. If I have 25 collections in my database, does it mean that they will share 400 RUs between each other or it means that the database has 10,000RUs (400RUs * 25 containers) that will be shared between all containers?

I've read this documentation about provisioned throughput on MSDN, but it still unclear for me. How many throughput capacities I have in my case?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,701 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anurag Sharma 17,606 Reputation points
    2021-02-09T04:26:42.93+00:00

    Hi @Ihor Dyrman , welcome to Microsoft Q&A forum.

    If we choose to set the throughput enables at database level (say 400 RUs), then all the containers in the database will share this throughput. Database would not have (400 * Number of Containers in the database) RUs.

    As per the same article "Containers in a shared throughput database share the throughput (RU/s) allocated to that database. With standard (manual) provisioned throughput, you can have up to 25 containers with a minimum of 400 RU/s on the database." This means all the containers will eventually share the RUs configured at database level.

    Please let us if this helps or else we can discuss further.

    ----------

    If answer helps, please mark it as 'Accept Answer'

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. KalyanChanumolu-MSFT 8,341 Reputation points
    2021-02-09T04:14:30.347+00:00

    @Ihor Dyrman Thank you for reaching out.
    When you create a database and provision manual throughput, as shown in the picture below, 400RU's will be shared across 25 containers.

    65599-image.png

    ----------

    If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.