{"id":1770,"date":"2020-09-30T08:00:28","date_gmt":"2020-09-30T15:00:28","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=1770"},"modified":"2022-09-20T10:37:45","modified_gmt":"2022-09-20T17:37:45","slug":"data-modeling-partitioning-and-pricing-in-2-minutes","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/data-modeling-partitioning-and-pricing-in-2-minutes\/","title":{"rendered":"Data modeling, partitioning, and pricing in 2 minutes"},"content":{"rendered":"<p>When developing applications with a NoSQL database like Azure Cosmos DB, some of your earliest decisions can dramatically impact speed, performance, scalability and costs. To help you create the best data modeling, partitioning, and pricing strategies for your workloads, we&#8217;ve released three videos that explain these concepts in less than two minutes. You&#8217;ll come to understand the impacts and tradeoffs of various approaches, and how to make the right decisions for your workloads.<\/p>\n<h3>Data modeling for speed and cost management<\/h3>\n<p>At its most basic, data modeling is how you establish the rules for storing and accessing data. It&#8217;s an important first step in database and application design because speed and costs &#8211; especially for frequent queries &#8211; are greatly impacted by your data modeling strategy. In this two-minute video, you&#8217;ll discover the key questions to consider in your data model design, the different approaches you can take, and how Azure Cosmos DB change feed (a <a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/change-feed-unsung-hero-of-azure-cosmos-db\/\" target=\"_blank\" rel=\"noopener noreferrer\">hero feature you should know about<\/a>!) can help.<\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/wOWa8ecFo88\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h3>Data partitioning for performance at scale<\/h3>\n<p>Once you&#8217;ve got your data model sorted, it&#8217;s time to turn your attention to your data partitioning strategy. How you write data to servers impacts read and write efficiency and costs, especially as you scale.\u00a0 This is where a well-planned partitioning approach comes in because your partition key is, well, the &#8220;key to success&#8221;. (Sorry. I had to.) In this two-minute video, you&#8217;ll learn the basics of partitioning, and get tips for how to choose the right partition key for your workload.<\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/277kuTO33yI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h3>Pricing options to save time and money<\/h3>\n<p>Choosing the right pricing model for your application is about more than your money &#8211; it&#8217;s about your time.\u00a0 Azure Cosmos DB offers capacity-based standard and autoscale provisioned throughput options, <a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/autoscale-serverless-offers\/\" target=\"_blank\" rel=\"noopener noreferrer\">along with a consumption-based serverless offering<\/a>. When deciding between the three you need to consider traffic patterns, predictability, SLAs, and whether or not you want to manage capacity.\u00a0 This video will explain your options and give tips for selecting the right option for your workload, all in less than two minutes.<\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/aFCsCLwgczA\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h3>Want more?<\/h3>\n<ul>\n<li>Visit the<a href=\"https:\/\/www.youtube.com\/azurecosmosdb\" target=\"_blank\" rel=\"noopener noreferrer\"> Azure Cosmos DB channel on YouTube<\/a> for tips and tricks, technical training, and more<\/li>\n<li>Find <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cosmos-db\/how-to-model-partition-example\" target=\"_blank\" rel=\"noopener noreferrer\">documentation on data modeling and partitioning<\/a><\/li>\n<li>Get more info on <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cosmos-db\/throughput-serverless\" target=\"_blank\" rel=\"noopener noreferrer\">choosing between provisioned throughput and serverless\u00a0<\/a><\/li>\n<li>Learn all about <a href=\"https:\/\/azure.microsoft.com\/services\/cosmos-db\/\" target=\"_blank\" rel=\"noopener noreferrer\">Azure Cosmos DB<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Build your NoSQL database for speed, scale, and performance with the right data modeling, partitioning, and pricing strategies.  In under 2-minutes, these new videos will help guide your next application development project. <\/p>\n","protected":false},"author":18741,"featured_media":1772,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[19],"tags":[740,1176,499,1177],"class_list":["post-1770","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","tag-appdev","tag-autoscale","tag-azure-cosmos-db","tag-serverless"],"acf":[],"blog_post_summary":"<p>Build your NoSQL database for speed, scale, and performance with the right data modeling, partitioning, and pricing strategies.  In under 2-minutes, these new videos will help guide your next application development project. <\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/1770","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\/18741"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=1770"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/1770\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/1772"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=1770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=1770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=1770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}