Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Cosmos DB: partition keys, RUs and consistency

Every Cosmos DB call has a price in request units. Create an orders container, read data three ways from Python and compare the bill, then change consistency and indexing and watch the numbers move.

Next: Cosmos DB vector search with the change feed ❯

You will learn:Partition key choice and point readsRequest units per operationConsistency levels and their RU costIndexing policy: cheaper writes vs slower queries

💰 0/mo

Related lessons: Cosmos DB for NoSQL: Connect with the SDK and Query · Cosmos DB: RUs, Indexing Policies and Consistency Levels

Install MSDEVBUILD Azure

Free · no account · works offline

Save the whole course for offline ›

Hi, I’m your Nimbus

Your study buddy. Pick what we do next.

MSDEVBUILD · Multi-Stack Dev Build

Sign in to MSDEVBUILD

One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.