Azure Cosmos DB shares some optimization tips in this short video.

A well-planned partitioning strategy will optimize database reads and writes, enabling you to achieve great speed at any scale with Azure Cosmos DB. In under two minutes, you’ll gain an understanding of how partitioning works, why it’s critical to performance as your database scales, and how to select the best key for your database. 

Learn more about partitioning strategy:

Data modeling is the process of establishing patterns and rules for how data is stored in database documents and containers and how it is accessed.

You can significantly improve speed and performance of Azure Cosmos DB – especially for your most frequent queries – by choosing the data model that best fits the needs of your application.

In less than two minutes, learn about the key considerations for choosing the right data model, the differences between embedding and referencing data, and how the Azure Cosmos DB change feed can eliminate data duplication.

For more on data modeling, visit:

James Serra recently posted this article on some of the things to keep in mind when moving from a relational data model mindset to a NoSQL model.

A big difference with Cosmos DB compared to a relational database is you will create a denormalized data model.  Take a person record for example.  You will embed all the information related to a person, such as their contact details and addresses, into a single JSON document.  Retrieving a complete person record from the database is now a single read operation against a single container and for a single item.  Updating a person record, with their contact details and addresses, is also a single write operation against a single item.  By denormalizing data, your application typically will have better read performance and write performance and allow for a scale-out architecture since you don’t need to join tables.

Gaurav Sen explains NoSQL databases in this introductory video.

NoSQL is a popular database storage method. It keeps data as key value pairs. The advantages and disadvantages of NoSQL compared with RDBMS (which uses SQL) are discussed here, using the Cassandra architecture as an example.

Video index:

  • 1:08 NoSQL explanation and comparison
  • 10:27 Cassandra Architecture
  • 18:00 Quorum
  • 21:30 Compaction of SST tables

Discover ways to troubleshoot and optimize queries in Azure Cosmos DB using the Core (SQL) API. Program Manager Tim Sander demonstrates.

Content Index

  • 0:30 Request Units (database throughput capacity)
  • 3:30 Including necessary paths
  • 8:30 Optimizing ORDER BY queries
  • 11:30 Optimizing JOINs
  • 13:15 Avoiding cross-partition queries

Get started:

In this video, discover the unique capabilities and features of Azure Cosmos DB, a fully managed #NoSQL database system for scalable and real-time applications.

Product Manager Andrew Liu leads a demo of the key features and then shares common use cases and app scenarios. This includes, real-time IoT telemetry, personalized recommendations, how customers use Azure Cosmos DB most often, the top four things you should know before you start, and resources to help you.

Do you need to change a partition key you’ve already defined in a collection (or collections)?

Program manager Theo van Kraay shows how an account with Azure Cosmos DB Core (SQL) API can change partition keys using change feed.

If you’re new to partitioning, watch this video first: https://youtu.be/oqk41KY6rhA.

For more about partitioning with Azure Cosmos DB, visit: https://docs.microsoft.com/en-us/azure/cosmos-db/partition-data

One of the keys (pun intended) of achieving optimal performance out of CosmosDB is partitioning properly.  In partitioning, the items in a container are divided into distinct subsets called logical partitions.

Azure Cosmos DB transparently and automatically manages the placement of logical partitions on physical partitions to efficiently satisfy the scalability and performance needs of the container. As the throughput and storage requirements of an application increase, Azure Cosmos DB moves logical partitions to automatically spread the load across a greater number of servers.

In this episode, Burke and Jasmine Greenaway bring you five reasons that you should check out Cosmos DB today. They also play a dangerous game of Jenga with an oversized tower made out of 2×4’s, and someone nearly gets crushed.

Jasmine Greenaway on Twitter
Cosmos DB Intro
Cosmos DB / C# / JavaScript App Tutorial
Cosmos DB / Azure Functions Tutorial

Learn more at aka.ms/5things-azure
To watch more episodes go to Five Things Playlist
Follow Hosts Burke Holland and John Papa on Twitter

MongoDB’s CTO and Co-Founder, Eliot Horowitz, provides a comprehensive introduction to MongoDB in under 5 minutes. In this video, he walks through how the document model differs from a relational database, and how MongoDB’s distributed approach guarantees elastic scalability and always-on availability.

If you watch this are concerned about the future of RDBMS databases, don’t be. Traditional databases are certainly not going anywhere and, of course, are not well suited for every situation.