liveBook · Manning

NoSQL database

As explained in Microsoft Azure in Action

A NoSQL database is a nonrelational database designed to store and retrieve data using flexible structures rather than a fixed relational schema.

A NoSQL database stores data without requiring every record to follow one fixed schema. Azure Cosmos DB uses this flexibility to support key-value, document, and graph models while scaling across global networks. That makes it a practical fit for a fast-changing product catalog and worldwide customer traffic. section 11.0 section 11.3.1

Working with NoSQL databases involves balancing flexibility with deliberate design:

  • Allow records to vary: one product document can include ratings or multiple images while another omits them. section 11.3.1
  • Handle variation in application logic, because evolving structures can otherwise weaken consistency and integrity. section 11.3.1
  • Denormalize related data when faster reads and scalable retrieval matter more than minimizing duplication or joins. section 11.3.1
  • Model and partition data thoughtfully, since those choices affect performance, scalability, and cost. section 11.3

A product document

An Alpaca-Ma-Bags product can keep its material, sizes, colors, supplier details, and availability together in one document. Embedding supplier information lets a complete product entity be retrieved without an expensive join. section 11.3.1

How Microsoft Azure in Action covers it

How deep it goes
Explains schema flexibility, denormalization, embedded documents, and design trade-offs, then points toward partitioning without detailing its algorithms.
Examples
Uses an Alpaca-Ma-Bags product catalog, variable product records, embedded supplier details, and a complete product document.
What it assumes
Contrasts NoSQL with relational databases and teaches schema-less modeling before applying denormalization and partitioning decisions.
What you can do after
Evaluate and design flexible document models while weighing read performance, scalability, consistency, and cost.
How it connects
Ties NoSQL databases to Azure Cosmos DB, MongoDB, data modeling, denormalization, partitioning, scalability, and relational databases.

Also explained in

Compare how 7 books explain NoSQL database →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.