MongoDB
MongoDB is a document-oriented database management system that stores data as BSON documents, typically organized into collections.
MongoDB 8.0 in Action, Third Edition
MongoDB is a document-oriented database platform that stores data in BSON documents and provides a database query interface.
- How it is used
- Persists application records as documents and provides querying, aggregation, and scalable data access.
- How deep it goes
- Explains document structure, schema planning, Query API operations, and index diagnosis; defers detailed CRUD and aggregation treatment.
- Examples
- Uses a nested book document, shell queries, a student grades record, and an airline route schema scenario.
- What you can do after
- Apply it via mongosh to inspect and modify documents, then plan schemas and diagnose query performance with indexes and explain().
Read how MongoDB 8.0 in Action, Third Edition explains MongoDB →
Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform
MongoDB is a document-oriented NoSQL database management system.
- How it is used
- Stores dynamic video metadata for a microservices application, replacing a hardcoded video path.
- How deep it goes
- Walks through container configuration, Node.js connection, collection access, and test setup, while deferring database design and data engineering.
- Examples
- Uses a videos collection containing videoPath records to support a video-streaming service.
- What you can do after
- Apply it via Docker Compose and the Node.js MongoDB driver to connect a microservice to a development database.
Java Persistence with Spring Data and Hibernate epub
MongoDB is a document-oriented database management system that stores data in flexible, JSON-like documents.
- How it is used
- Stores application data as flexible documents and supports Java persistence through Spring Data MongoDB or Hibernate OGM.
- How deep it goes
- Defines databases, collections, documents, fields, dynamic schemas, queries, indexes, and Java mappings, but defers comprehensive CRUD detail.
- Examples
- Uses a user document, MongoDB Compass filters, Spring Boot mappings, and Hibernate OGM tests with User, Item, and Bid entities.
- What you can do after
- Operate/configure MongoDB through Compass, Spring Boot properties, Spring Data mappings, or JPA and JPQL persistence tests.
Read how Java Persistence with Spring Data and Hibernate epub explains MongoDB →
The Quick Python Book, Fourth Edition
MongoDB is a document-oriented NoSQL database system designed for distributed storage and querying of structured data.
- How it is used
- Uses Python to store, query, update, replace, and delete document data in a distributed NoSQL database.
- How deep it goes
- Demonstrates basic PyMongo CRUD and setup, but stops short of MongoDB’s broader capabilities and design details.
- Examples
- Demonstrates a Jane document, generated ObjectId, field update, full replacement, deletion, and collection dropping.
- What you can do after
- Operate/configure MongoDB through PyMongo, including connecting, creating documents, querying, modifying, deleting, and dropping collections.
Read how The Quick Python Book, Fourth Edition explains MongoDB →
Quarkus in Action
MongoDB is an open-source document-oriented NoSQL database system that stores data in flexible, JSON-like documents.
- How it is used
- Uses MongoDB as the Rental service’s document store and exposes persisted rental state through REST endpoints.
- How deep it goes
- Explains extension setup, configuration, entity mapping, queries, persistence, verification, and ObjectId integration, but not database internals.
- Examples
- Demonstrates a Rental entity, active-rental queries, REST start and end operations, HTTP responses, and mongosh verification.
- What you can do after
- Build it from scratch with Quarkus Panache, persist JSON-like documents, query them, and verify their stored MongoDB representation.
Vibe Engineering
A document-oriented database system that stores and queries data using BSON documents and provides distributed data-management capabilities.
- How it is used
- Supports legacy modernization by replacing relational persistence with a document-oriented backend in Spring applications.
- How deep it goes
- Explains schema rationale and migration mechanics, but does not descend into MongoDB internals or distributed deployment design.
- Examples
- Uses a MemberRepository migration, a sorted query, MongoDB configuration, a DataInitializer, and adapted repository tests.
- What you can do after
- Apply it via Spring Data MongoDB by configuring the backend, migrating repositories, initializing documents, and adapting tests.
Spring in Action, Sixth Edition
Mongo is a document-oriented database system commonly known as MongoDB.
- How it is used
- Uses MongoDB to persist document-shaped application data through Spring Data repositories.
- How deep it goes
- Explains BSON documents, domain mapping, repositories, dependencies, and connection settings; defers reactive persistence.
- Examples
- Uses Docker, embedded Flapdoodle MongoDB, and YAML host, port, credential, and database settings.
- What you can do after
- Operate/configure MongoDB for Spring applications using a starter, local or embedded server, repositories, and connection properties.
Building Distributed Applications that Work
MongoDB is a document-oriented NoSQL database management system.
- How it is used
- Supports storing semistructured e-commerce data, such as product reviews, in documents associated with products.
- How deep it goes
- Defines the document model and trade-offs but stops short of implementation or operational guidance.
- Examples
- Uses product reviews stored alongside their product as the concrete example.
- What you can do after
- Evaluate whether document storage fits semistructured application data and its relationship needs.
Read how Building Distributed Applications that Work explains MongoDB →
Also covered in
- Kubernetes in Action, Second Edition
- Microsoft Azure in Action
- Effective Data Analysis
- ScyllaDB in Action
- Grokking Web Application Security
- Grokking Software ArchitectureIn early access (MEAP)
What to know first
- NoSQL databaseA NoSQL database is a database system organized primarily around nonrelational data models rather than the traditional relational table model.
- JSONJSON is a language-independent text-based data-interchange format that represents structured values using objects, arrays, strings, numbers, booleans, and null.
- MapA map is an associative data structure that stores key-value associations and supports retrieving values by key.
Related concepts
- NoSQL databasekind of · A NoSQL database is a database system organized primarily around nonrelational data models rather than the traditional relational table model.
- BSONuses · BSON is a binary-encoded serialization format for JSON-like documents and values, with support for additional data types such as dates and binary data.
- Spring Data MongoDBused by · Spring Data MongoDB is a Spring Data module that provides repository and data-access abstractions for MongoDB document databases.
- MongoDB documentuses · A MongoDB document is a BSON-encoded record of field-value pairs representing structured data.
Questions about MongoDB
What is MongoDB?
MongoDB is a document-oriented database management system that stores data as BSON documents, typically organized into collections.
Which Manning books explain MongoDB?
MongoDB 8.0 in Action, Third Edition, Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform, Java Persistence with Spring Data and Hibernate epub, The Quick Python Book, Fourth Edition, Quarkus in Action, Vibe Engineering, Spring in Action, Sixth Edition and Building Distributed Applications that Work.
What should I know before learning MongoDB?
Manning books that teach MongoDB usually introduce NoSQL database, Java, JSON and Map first.
What is MongoDB a kind of?
MongoDB 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.
What is MongoDB also called?
MongoDB is also called Mongo.
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.







