{"id":8743,"date":"2024-10-04T10:55:33","date_gmt":"2024-10-04T17:55:33","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=8743"},"modified":"2024-10-22T09:43:27","modified_gmt":"2024-10-22T16:43:27","slug":"scale-your-database-workloads-with-multishard-clusters-in-vcore-based-azure-cosmos-db-for-mongodb","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/scale-your-database-workloads-with-multishard-clusters-in-vcore-based-azure-cosmos-db-for-mongodb\/","title":{"rendered":"Scale Your Database Workloads with Multishard Clusters in vCore-based Azure Cosmos DB for MongoDB"},"content":{"rendered":"<p>We\u2019re excited to introduce significant enhancements to <strong>vCore-based Azure Cosmos DB for MongoDB<\/strong> with the release of <strong>multishard clusters<\/strong>\u00a0preview, designed to take scalability and performance to the next level. This update brings several new capabilities that address the needs of demanding database workloads, making it easier than ever to manage large datasets and handle high-throughput applications.<\/p>\n<h2>Increased number of physical shards<\/h2>\n<p>vCore-based Azure Cosmos DB for MongoDB now allows you to expand your cluster beyond the previous limit of two physical shards, supporting <strong>up to five physical shards<\/strong>\u00a0by default, with the ability to scale further on demand. This enables greater data distribution and balances the load across more shards, improving the overall efficiency and performance of your clusters.<\/p>\n<p>For customers managing large-scale applications, this increase in shard count means you can better distribute your data, avoid bottlenecks, and support higher volumes of traffic without impacting performance.<\/p>\n<h2>Enhanced performance through parallelization<\/h2>\n<p>With the introduction of multishard clusters, workloads that can benefit from parallelization see performance improvements. By distributing read and write operations across more shards, vCore-based Azure Cosmos DB for MongoDB now allows for higher concurrency and faster execution times. Whether you\u2019re handling complex queries or high-frequency writes, this parallelization ensures your database keeps up with increasing demand.<\/p>\n<p>This improvement is particularly beneficial for workloads that involve large-scale analytics, real-time processing, or applications with high transaction volumes, giving you the ability to process more data faster.<\/p>\n<h2>Large storage per physical shard<\/h2>\n<p>In addition to scaling the number of shards, vCore-based Azure Cosmos DB for MongoDB supports <a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/introducing-new-storage-sizes-for-vcore-based-azure-cosmos-db-for-mongodb-unlock-more-capacity-and-performance\/\"><strong>large storage up to 32 TiB per shard<\/strong><\/a>, making it possible to handle even larger workloads. Each shard can now store more data, enabling you to scale your database horizontally while maintaining high performance and resilience. This feature is ideal for organizations that need to store and query hundreds of terabytes or more, all while ensuring their applications are still responsive.<\/p>\n<p>By combining the increased shard count with large storage per shard, vCore-based Azure Cosmos DB for MongoDB delivers a solution that not only scales seamlessly but also ensures optimal resource utilization for massive datasets.<\/p>\n<h2>How to provision a preview multishard cluster<\/h2>\n<p>Because multishard cluster preview also includes support for <a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/cross-region-replication-in-vcore-based-azure-cosmos-db-for-mongodb\/\" target=\"_blank\" rel=\"noopener\">cross-region replication<\/a>, select to have access to global data distribution preview during vCore-based Azure Cosmos DB for MongoDB cluster provisioning.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-preview-provisioning.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-8749\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-preview-provisioning.png\" alt=\"vCore-based Azure Cosmos DB for MongoDB multishard cluster preview provisioning screen\" width=\"1155\" height=\"954\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-preview-provisioning.png 1155w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-preview-provisioning-300x248.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-preview-provisioning-1024x846.png 1024w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-preview-provisioning-768x634.png 768w\" sizes=\"(max-width: 1155px) 100vw, 1155px\" \/><\/a><\/p>\n<p><em><span style=\"font-size: 10pt;\">Figure 1. Screenshot from the Azure portal of a multishard cluster and cross-region replication preview selection.<\/span><\/em><\/p>\n<ol>\n<li>Open vCore-based Azure Cosmos DB for MongoDB cluster creation page in the Azure portal.<\/li>\n<li>Set \u2018Access to global distribution (preview)\u2019 option under \u2018Cluster details\u2019.<\/li>\n<li>Select \u2018Configure\u2019 next to \u2018Cluster tier\u2019.<\/li>\n<li>Select desired number of physical shards in the \u2018Shards\u2019 drop-down list under \u2018Advanced\u2019 and select \u2018Save\u2019 to preserve your selection.<\/li>\n<li>Complete cluster creation.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-8748\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration.png\" alt=\"vCore-based Azure Cosmos DB for MongoDB multishard cluster configuration\" width=\"1119\" height=\"1121\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration.png 1119w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration-300x300.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration-1022x1024.png 1022w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration-150x150.png 150w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration-768x769.png 768w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration-24x24.png 24w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration-48x48.png 48w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/09\/mongodb-vcore-multishard-cluster-configuration-96x96.png 96w\" sizes=\"(max-width: 1119px) 100vw, 1119px\" \/><\/a><\/p>\n<p><span style=\"font-size: 10pt;\"><em>Figure 2. Screenshot from the Azure portal with multishard configuration option open.<\/em><\/span><\/p>\n<h2>A more scalable, efficient solution for MongoDB workloads<\/h2>\n<p>The new multishard cluster feature in vCore-based Azure Cosmos DB for MongoDB is designed to help you tackle the challenges of modern, large-scale applications. Whether you&#8217;re working with mission-critical enterprise workloads or building high-performance, globally distributed applications, these improvements make it easier to scale your database infrastructure to meet your growing needs.<\/p>\n<p>To learn more about how multishard clusters in vCore-based Azure Cosmos DB for MongoDB can help you scale your workloads and improve performance, review the <a href=\"https:\/\/learn.microsoft.com\/azure\/cosmos-db\/mongodb\/vcore\/introduction\" target=\"_blank\" rel=\"noopener\">documentation<\/a>.<\/p>\n<h2>Watch a demonstration<\/h2>\n<p>Watch Azure Cosmos DB TV Episode &#8220;<a href=\"https:\/\/youtu.be\/X-4-2G3ZOv8\">Handling hundreds of TBs MongoDB workloads with vCore-based Azure Cosmos DB for MongoDB &#8211; Ep 99<\/a>&#8221; and see how this new multi-shard solution can benefit you!<\/p>\n<p><iframe src=\"\/\/www.youtube.com\/embed\/X-4-2G3ZOv8\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<h2><b>Leave a review<\/b><\/h2>\n<p>Tell us about your Azure Cosmos DB experience! Leave a review on PeerSpot and we\u2019ll gift you $50. <a href=\"https:\/\/peerspotdotcom.my.site.com\/proReviews\/?SalesOpportunityProduct=00kPy000004TKXJIA4&amp;productPeerspotNumber=30881&amp;CalendlyAccount=peerspot&amp;CalendlyFormLink=peerspot-product-reviews-ps-gc-vi-sf-50&amp;giftCard=50\" target=\"_blank\" rel=\"noopener\">Get started here<\/a>.<\/p>\n<h2><b>About Azure Cosmos DB<\/b><\/h2>\n<p>Azure Cosmos DB is a fully managed and serverless NoSQL and vector database for modern app development, including AI applications. With its SLA-backed speed and availability as well as instant dynamic scalability, it is ideal for real-time NoSQL and MongoDB applications that require high performance and distributed computing over massive volumes of NoSQL and vector data.<\/p>\n<p><a href=\"https:\/\/cosmos.azure.com\/try\/\" target=\"_blank\" rel=\"noopener\">Try Azure Cosmos DB for free here.<\/a> To stay in the loop on Azure Cosmos DB updates, follow us on <a href=\"https:\/\/twitter.com\/AzureCosmosDB\" target=\"_blank\" rel=\"noopener\">X<\/a>, <a href=\"https:\/\/aka.ms\/AzureCosmosDBYouTube\" target=\"_blank\" rel=\"noopener\">YouTube<\/a>, and <a href=\"https:\/\/www.linkedin.com\/company\/azure-cosmos-db\/\" target=\"_blank\" rel=\"noopener\">LinkedIn<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re excited to introduce significant enhancements to vCore-based Azure Cosmos DB for MongoDB with the release of multishard clusters\u00a0preview, designed to take scalability and performance to the next level. This update brings several new capabilities that address the needs of demanding database workloads, making it easier than ever to manage large datasets and handle high-throughput [&hellip;]<\/p>\n","protected":false},"author":103349,"featured_media":8751,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12,15],"tags":[1768,1246,1870],"class_list":["post-8743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements","category-mongodb-api","tag-azure-cosmos-db-api-for-mongodb","tag-mongodb","tag-vcore"],"acf":[],"blog_post_summary":"<p>We\u2019re excited to introduce significant enhancements to vCore-based Azure Cosmos DB for MongoDB with the release of multishard clusters\u00a0preview, designed to take scalability and performance to the next level. This update brings several new capabilities that address the needs of demanding database workloads, making it easier than ever to manage large datasets and handle high-throughput [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/8743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/103349"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=8743"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/8743\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/8751"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=8743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=8743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=8743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}