October 4th, 2024

Scale Your Database Workloads with Multishard Clusters in vCore-based Azure Cosmos DB for MongoDB

Nik Larin (Azure Data)
Principal Program Manager

We’re excited to introduce significant enhancements to vCore-based Azure Cosmos DB for MongoDB with the release of multishard clusters preview, 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.

Increased number of physical shards

vCore-based Azure Cosmos DB for MongoDB now allows you to expand your cluster beyond the previous limit of two physical shards, supporting up to five physical shards by 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.

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.

Enhanced performance through parallelization

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’re handling complex queries or high-frequency writes, this parallelization ensures your database keeps up with increasing demand.

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.

Large storage per physical shard

In addition to scaling the number of shards, vCore-based Azure Cosmos DB for MongoDB supports large storage up to 32 TiB per shard, 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.

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.

How to provision a preview multishard cluster

Because multishard cluster preview also includes support for cross-region replication, select to have access to global data distribution preview during vCore-based Azure Cosmos DB for MongoDB cluster provisioning.

vCore-based Azure Cosmos DB for MongoDB multishard cluster preview provisioning screen

Figure 1. Screenshot from the Azure portal of a multishard cluster and cross-region replication preview selection.

  1. Open vCore-based Azure Cosmos DB for MongoDB cluster creation page in the Azure portal.
  2. Set ‘Access to global distribution (preview)’ option under ‘Cluster details’.
  3. Select ‘Configure’ next to ‘Cluster tier’.
  4. Select desired number of physical shards in the ‘Shards’ drop-down list under ‘Advanced’ and select ‘Save’ to preserve your selection.
  5. Complete cluster creation.

vCore-based Azure Cosmos DB for MongoDB multishard cluster configuration

Figure 2. Screenshot from the Azure portal with multishard configuration option open.

A more scalable, efficient solution for MongoDB workloads

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’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.

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 documentation.

Watch a demonstration

Watch Azure Cosmos DB TV Episode “Handling hundreds of TBs MongoDB workloads with vCore-based Azure Cosmos DB for MongoDB – Ep 99” and see how this new multi-shard solution can benefit you!

Leave a review

Tell us about your Azure Cosmos DB experience! Leave a review on PeerSpot and we’ll gift you $50. Get started here.

About Azure Cosmos DB

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.

Try Azure Cosmos DB for free here. To stay in the loop on Azure Cosmos DB updates, follow us on X, YouTube, and LinkedIn.

Author

Nik Larin (Azure Data)
Principal Program Manager

Nik is a product manager for Azure Cosmos DB in Azure Data.

0 comments

Discussion are closed.