liveBook · Manning

Document database

Also called document store, document-oriented database

A document database is a nonrelational database that stores and retrieves records as self-contained documents, often with flexible or nested structures.

How 4 Manning books explain it

Grokking Software Architecture

A database that stores and retrieves data as document-shaped records, often with flexible fields and nested structures.

How it is used
Positions document databases as a storage choice for flexible, varied data and whole-aggregate reads.
How deep it goes
Explains nested aggregates and read-update tradeoffs, then demonstrates a basic insert and query without exploring storage internals.
Examples
Uses a customer with nested addresses and orders and a recipe with searchable tags.
What you can do after
Evaluate/understand it by weighing flexible aggregate reads against updates across documents and relational integrity needs.

Read how Grokking Software Architecture explains document database →

MongoDB 8.0 in Action, Third Edition

A document database stores records as self-contained documents, typically allowing each document to have a different structure.

How it is used
Stores application objects persistently while letting document structures follow changing access needs.
How deep it goes
Defines the model, contrasts relational schemas, and shows basic MongoDB operations; does not detail storage internals.
Examples
Uses a nested book document, MongoDB find/update/delete commands, and an airline-route query workload.
What you can do after
Apply it via MongoDB by shaping documents around frequent reads and writes and performing basic document operations.

Read how MongoDB 8.0 in Action, Third Edition explains document database →

Effective Data Analysis

A document database is a database that stores complex nested records, typically in document formats with flexible or dynamic structures.

How it is used
Supports storing semistructured, nested information that does not fit neatly into structured tabular formats.
How deep it goes
Explains flexible structure, query implications, tabular transformation, and quality checks without detailing database implementation internals.
Examples
Uses IoT records, multimedia properties, employment documents, application logs, and nested JSON structures as examples.
What you can do after
Evaluate when flexible document storage fits and anticipate querying, tabular transformation, and data-quality requirements.

Read how Effective Data Analysis explains document database →

Natural Language Processing in Action, Second Edition

A data store that organizes and retrieves records represented as documents, typically with flexible schemas.

How it is used
Supports searchable knowledge stores for Haystack question-answering applications.
How deep it goes
Explains document construction, indexing choices, embeddings, persistence, and pipeline wiring, but not database internals.
Examples
Uses CSV text lines, Haystack Documents, FAISSDocumentStore, and Flat or HNSW indexes.
What you can do after
Operate/configure a Haystack document store and connect it to a retriever-reader question-answering pipeline.

Read how Natural Language Processing in Action, Second Edition explains document database →

Also covered in

What to know first

Related concepts

Questions about document database

What is document database?

A document database is a nonrelational database that stores and retrieves records as self-contained documents, often with flexible or nested structures.

Which Manning books explain document database?

Grokking Software Architecture, MongoDB 8.0 in Action, Third Edition, Effective Data Analysis and Natural Language Processing in Action, Second Edition.

What should I know before learning document database?

Manning books that teach document database usually introduce NoSQL database, JSON, SQL and schema first.

What is the difference between document database and database?

A document database is a nonrelational database that stores and retrieves records as self-contained documents, often with flexible or nested structures. A database is an organized persistent data store, typically managed by software, that supports storing, retrieving, and modifying data.

What kinds of document database are there?

Kinds of document database include Elasticsearch and MongoDB.

What is document database a kind of?

Document database 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.