How to Choose the Right Partition Key in Azure Cosmos DB

Azure Cosmos DB
282,364 views •

Choosing the right partition key starts with how your app reads and writes data. Using chat history as an example, we compare conversation ID and user ID, explain how each affects scalability, and cover hot partitions, storage limits, and efficient reads. Speaker: Theo van Kraay Learn more: • Docs: Partitioning and horizontal scaling in Azure Cosmos DB - https://aka.ms/cosmosdb-partitioning • Subscribe to Azure Cosmos DB on YouTube - https://youtube.com/AzureCosmosDB • Follow Azure Cosmos DB on X - https://twitter.com/AzureCosmosDB • Follow Azure Cosmos DB on LinkedIn - https://www.linkedin.com/company/azure-cosmos-db/ #AzureCosmosDB #Partitioning #AppDevelopment

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close