liveBook · Manning

Cosmos DB

Azure Cosmos DB is Microsoft's globally distributed, multimodel cloud database service, supporting multiple data models and APIs.

How 2 Manning books explain it

Microsoft Azure in Action

Azure Cosmos DB is Microsoft's globally distributed, multimodel database service providing low-latency access and elastic scalability.

How it is used
Supports a growing online store's product catalog, global customer traffic, and near-real-time business insights.
How deep it goes
Works through CLI setup and partition-key decisions, then addresses availability, monitoring, and pricing without detailing every analytics integration.
Examples
Uses an online product catalog, Azure CLI account and collection commands, a regional failover configuration, and a request-unit alert.
What you can do after
Operate/configure it with Azure CLI, choose a partition key, plan regional availability, and monitor consumption and costs.

Read how Microsoft Azure in Action explains Cosmos DB →

Enterprise RAG

Azure Cosmos DB is Microsoft's globally distributed, multimodel cloud database service, including a NoSQL document-database API.

How it is used
Persists RAG chat logs and user feedback outside stateless containers for auditing, diagnosis, and later review.
How deep it goes
Implements Python SDK clients, JSON upserts, container setup, Azure Function writes, queries, and credential handling without database internals.
Examples
Uses chat-response logs, thumbs-down product feedback, a user_feedback container, Python upserts, and a query for recent negative ratings.
What you can do after
Operate/configure it to persist chat and feedback JSON through server-side Python and Azure Functions.

Read how Enterprise RAG explains Cosmos DB →

Also covered in

What to know first

Related concepts

Questions about Cosmos DB

What is Cosmos DB?

Azure Cosmos DB is Microsoft's globally distributed, multimodel cloud database service, supporting multiple data models and APIs.

Which Manning books explain Cosmos DB?

Microsoft Azure in Action and Enterprise RAG.

What should I know before learning Cosmos DB?

Manning books that teach Cosmos DB usually introduce contract first.

What is Cosmos DB a kind of?

Cosmos DB is a kind of NoSQL database. A NoSQL database is a database system organized primarily around nonrelational data models rather than the traditional relational table model.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.