Događaji
Izgradite inteligentne aplikacije
M03 17 21 - M03 21 10
Pridružite se seriji susreta kako biste sa kolegama programerima i stručnjacima izgradili skalabilna AI rješenja zasnovana na stvarnim slučajevima korištenja.
Registrirajte seOvaj preglednik više nije podržan.
Nadogradite na Microsoft Edge da iskoristite najnovije osobine, sigurnosna ažuriranja i tehničku podršku.
APPLIES TO:
NoSQL
MongoDB
Cassandra
Gremlin
Table
When using an Azure Cosmos DB account in provisioned throughput mode, most of your costs usually come from the amount of throughput that you have provisioned across your account. In particular, these costs are directly influenced by:
It can be challenging to keep track of the total amount of throughput that you have provisioned across your account, especially when you're getting started with Azure Cosmos DB. This can lead to unexpected charges when this amount ends up going over a certain budget that you didn't expect to exceed. To help you better control your costs, Azure Cosmos DB lets you limit the total throughput provisioned on your account.
Bilješka
This feature is not available on serverless accounts.
After you've set a limit to your account's total throughput, any of the following operations that results in exceeding this limit is blocked and will explicitly fail:
Bilješka
For resources configured in autoscale mode, it is the maximum throughput configured on the resource that counts towards your account's total throughput.
Važno
Once a total throughput limit is enabled on your account, you must pass an explicit throughput value when creating new containers. You will currently get an error if you try to create a container with no explicit throughput.
When creating a new Azure Cosmos DB account from the portal, you have the option to limit the account's total throughput:
Checking this option will limit your account's total throughput to 1,000 RU/s for a free tier account and 4,000 RU/s for a regular, non-free tier account. You can change this value after your account has been created.
From the Azure portal, navigate to your Azure Cosmos DB account and select Cost management from the left menu.
This section shows a summary of the total throughput provisioned on your account and lets you configure the total throughput limit. The following three options are available:
Bilješka
This custom limit can't be lower than the total throughput currently provisioned across the account.
When creating or updating your Azure Cosmos DB account with Azure Resource Manager, you can configure the total throughput limit by setting the properties.capacity.totalThroughputLimit
property:
{
"location": "West US",
"kind": "DocumentDB",
"properties": {
"locations": [
{
"locationName": "West US",
"failoverPriority": 0,
"isZoneRedundant": false
}
],
"databaseAccountOfferType": "Standard",
"capacity": {
"totalThroughputLimit": 2000
}
}
}
Set this property to -1
to disable the limit.
Azure Cosmos DB enforces a minimum throughput of 1 RU/s per GB of data stored. If you're ingesting data while already being at that minimum, the throughput provisioned on your resources will automatically increase to honor 1 RU/s per GB. In this case, and this case only, your total provisioned throughput may exceed the limit you've set.
Događaji
Izgradite inteligentne aplikacije
M03 17 21 - M03 21 10
Pridružite se seriji susreta kako biste sa kolegama programerima i stručnjacima izgradili skalabilna AI rješenja zasnovana na stvarnim slučajevima korištenja.
Registrirajte seObučavanje
Modul
Configure Azure Cosmos DB for NoSQL - Training
Select between the various throughput offerings in Azure Cosmos DB for NoSQL.
Certifikacija
Microsoft Certified: Azure Cosmos DB Developer Specialty - Certifications
Write efficient queries, create indexing policies, manage, and provision resources in the SQL API and SDK with Microsoft Azure Cosmos DB.
Dokumentacija
Request Units as a throughput and performance currency - Azure Cosmos DB
Learn how request units function as a currency in Azure Cosmos DB and how to specify and estimate Request Unit requirements.
How to choose between provisioned throughput and serverless on Azure Cosmos DB
Learn about how to choose between provisioned throughput and serverless for your workload.
Provision throughput on Azure Cosmos DB containers and databases
Learn how to set provisioned throughput for your Azure Cosmos DB containers and databases.