Provision standard (manual) throughput on a database in Azure Cosmos DB - SQL API


This article explains how to provision standard (manual) throughput on a database in Azure Cosmos DB SQL API. You can provision throughput for a single container, or for a database and share the throughput among the containers within it. To learn when to use container level and database level throughput, see the Use cases for provisioning throughput on containers and databases article. You can provision database level throughput by using the Azure portal or Azure Cosmos DB SDKs.

If you are using a different API, see API for MongoDB, Cassandra API, Gremlin API articles to provision the throughput.

Provision throughput using Azure portal

  1. Sign in to the Azure portal.

  2. Create a new Azure Cosmos account, or select an existing Azure Cosmos account.

  3. Open the Data Explorer pane, and select New Database. Provide the following details:

    • Enter a database ID.
    • Select the Share throughput across containers option.
    • Select Autoscale or Manual throughput and enter the required Database throughput (for example, 1000 RU/s).
    • Enter a name for your container under Container ID
    • Enter a Partition key
    • Select OK.

    Screenshot of New Database dialog box

Provision throughput using Azure CLI or PowerShell

To create a database with shared throughput see,

Provision throughput using .NET SDK


You can use Azure Cosmos SDKs for SQL API to provision throughput for all APIs. You can optionally use the following example for Cassandra API as well.

//set the throughput for the database
RequestOptions options = new RequestOptions
    OfferThroughput = 500

//create the database
await client.CreateDatabaseIfNotExistsAsync(
    new Database {Id = databaseName},  

Next steps

See the following articles to learn about provisioned throughput in Azure Cosmos DB: