Document database
A document database is a nonrelational database that stores and retrieves records as self-contained documents, often with flexible or nested structures.
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 →
Related concepts
- JSONuses · JSON is a standardized, language-independent text format for representing structured data using objects, arrays, strings, numbers, Boolean values, and null.
- Elasticsearchincludes · Elasticsearch is a distributed search and analytics engine that indexes data for searching, retrieval, and analysis.
- databasecontrasts with · A database is an organized collection of persistent data managed by software for storage, retrieval, querying, and modification.
- object-relational impedance mismatchaddresses · Object-relational impedance mismatch is the structural and conceptual difficulty of representing object-oriented application models in relational database models, and vice versa.
- MongoDBincludes · MongoDB is a document-oriented database management system that stores data as BSON documents, typically organized into collections.
- NoSQL databasekind of · A NoSQL database is a database system organized primarily around nonrelational data models or access patterns rather than relational tables.
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.


