|
| 1 | +--- |
| 2 | +title: Compute and storage |
| 3 | +titleSuffix: Supported compute and storage configurations on Azure Cosmos DB for MongoDB vCore |
| 4 | +description: Supported compute and storage configurations for Azure Cosmos DB for MongoDB vCore clusters |
| 5 | +author: niklarin |
| 6 | +ms.author: nlarin |
| 7 | +ms.service: cosmos-db |
| 8 | +ms.subservice: mongodb-vcore |
| 9 | +ms.topic: conceptual |
| 10 | +ms.date: 06/13/2024 |
| 11 | +--- |
| 12 | + |
| 13 | +# Compute and storage configurations for Azure Cosmos DB for MongoDB vCore clusters |
| 14 | + |
| 15 | +[!INCLUDE[MongoDB vCore](~/reusable-content/ce-skilling/azure/includes/cosmos-db/includes/appliesto-mongodb-vcore.md)] |
| 16 | + |
| 17 | +Compute resources are provided as vCores, which represent the logical CPU of |
| 18 | +the underlying hardware. The storage size for provisioning refers to the |
| 19 | +capacity available to the shards in your cluster. The storage is used for database files, temporary files, transaction logs, and the |
| 20 | +database server logs. You can select the compute and storage settings independently. The selected compute and storage values apply to each shard in the cluster. |
| 21 | + |
| 22 | +## Compute in Azure Cosmos DB for MongoDB vCore |
| 23 | + |
| 24 | +The total amount of RAM in a single shard is based on the |
| 25 | +selected number of vCores. |
| 26 | + |
| 27 | +| Cluster tier | vCores | One shard, GiB RAM | |
| 28 | +|--------------|-------------- |--------------------| |
| 29 | +| M25 | 2 (burstable) | 8 | |
| 30 | +| M30 | 2 | 8 | |
| 31 | +| M40 | 4 | 16 | |
| 32 | +| M50 | 8 | 32 | |
| 33 | +| M60 | 16 | 64 | |
| 34 | +| M80 | 32 | 128 | |
| 35 | + |
| 36 | +## Storage in Azure Cosmos DB for MongoDB vCore |
| 37 | + |
| 38 | +The total amount of storage you provision also defines the I/O capacity |
| 39 | +available to each shard in the cluster. |
| 40 | + |
| 41 | +| Storage size, GiB | Maximum IOPS | |
| 42 | +|-------------------|--------------| |
| 43 | +| 32 | 3,500† | |
| 44 | +| 64 | 3,500† | |
| 45 | +| 128 | 3,500† | |
| 46 | +| 256 | 3,500† | |
| 47 | +| 512 | 3,500† | |
| 48 | +| 1,024 | 5,000 | |
| 49 | +| 2,048 | 7,500 | |
| 50 | +| 4,096 | 7,500 | |
| 51 | +| 8,192* | 16,000 | |
| 52 | +| 16,384* | 18,000 | |
| 53 | +| 32,768* | 20,000 | |
| 54 | + |
| 55 | +† Max IOPS with free disk bursting. Storage up to 512 GiB inclusive come with free disk bursting enabled. |
| 56 | + |
| 57 | +\* Available in preview. |
| 58 | + |
| 59 | +## Maximizing IOPS for your compute / storage configuration |
| 60 | +Each compute configuration has an IOPS limit that depends on the number of vCores. Make sure you select compute configuration for your cluster to fully utilize IOPS in the selected storage. |
| 61 | + |
| 62 | +| Compute tier | vCores | Max storage size | IOPS with the max recommended storage size, up to | |
| 63 | +|---------------|----------------------------------|---------------------------------------------------| |
| 64 | +| M30 | 2 vCores | 0.5 TiB | 3,500† | |
| 65 | +| M40 | 4 vCores | 1 TiB | 5,000 | |
| 66 | +| M50 | 8 vCores | 4 TiB | 7,500 | |
| 67 | +| M60 | 16 vCores | 32 TiB | 20,000 | |
| 68 | +| M80 | 32 vCores | 32 TiB | 20,000 | |
| 69 | + |
| 70 | +† Max IOPS with free disk bursting. Storage up to 512 GiB inclusive come with free disk bursting enabled. |
| 71 | + |
| 72 | +To put it another way, if you need 8 TiB of storage per shard or more, make sure you select 16 vCores or more for the node's compute configuration. That selection would allow you to maximize IOPS usage provided by the selected storage. |
| 73 | + |
| 74 | +## Next steps |
| 75 | + |
| 76 | +- [See more information about burstable compute](./burstable-tier.md) |
| 77 | +- [Learn how to scale Azure Cosmos DB for MongoDB vCore cluster](./how-to-scale-cluster.md) |
| 78 | + |
| 79 | +> [!div class="nextstepaction"] |
| 80 | +> [Migration options for Azure Cosmos DB for MongoDB vCore](migration-options.md) |
0 commit comments