What is Partitioning in Azure Cosmos DB?

Will Velida
Will Velida
10.4 هزار بار بازدید - 4 سال پیش - Azure Cosmos DB uses partitioning
Azure Cosmos DB uses partitioning to scale containers in our database to meet the performance needs of our application. Ensuring that we partition our data correctly is critical for building applications that efficiently and effortlessly scale to meet the needs of our users.

In this video, I explain what partitioning is in Azure Cosmos DB, what the differences are between Logical and Physical partitions and how we can manage them. I'll also talk about what a Partition key is, how we can choose an effective partition key depending on our needs and how we can perform queries inside and across our partitions. I will finish off by going through a demo of how you can create a container with a partition key in C#, how we can perform queries against our partitions and how we can monitor our physical partitions via the Azure Portal.

By the end of this video, you'll have a clear understanding of what partitioning is in Azure Cosmos DB, how you can choose an effective partition key depending on the needs of your application and you can query your data inside and across your partitions in code.

If you have any questions, feel free to ask in the comment section below or feel free to reach out to me either on Twitter or LinkedIn.

GitHub: https://github.com/willvelida/
Twitter: Twitter: willvelida
LinkedIn: LinkedIn: willvelida
Dev.to: https://dev.to/willvelida
Medium: Medium: willvelida
4 سال پیش در تاریخ 1399/04/07 منتشر شده است.
10,494 بـار بازدید شده
... بیشتر