MongoDB Fundamentals
MongoDB is a document database that stores records as flexible BSON documents in collections. It fits applications whose data and access patterns work naturally with nested documents, indexes, replication, and, when needed, sharding.
itDatabases and data storage | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Intro
MongoDB Fundamentals
MongoDB is an operational document database. A record is a document: field and value pairs that can contain nested documents and arrays. Collections hold documents, much as tables hold rows, but documents in one collection do not need an identical set of fields.
That flexibility is useful when an application works with hierarchical or variable data. It is not permission to skip design. Start from how the application reads and writes data. Data accessed together often belongs together. MongoDB can enforce selected rules with schema validation when a collection needs them.
The working model
Continue the course
This section is part of the paid course.
See pricing to subscribe, or log in if you already have access.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://www.mongodb.com/docs/manual/
Supports
- MongoDB as a document database using flexible JSON-like documents
- Documents as field and value pairs with nested documents and arrays
- Collections, CRUD, aggregation, replication, sharding, and transactions as course concepts
- https://www.mongodb.com/docs/manual/data-modeling/
Supports
- Data modeling based on application access patterns and data accessed together
- Flexible documents, schema validation, embedding, and referencing
- Document-model differences from relational joins
- https://www.mongodb.com/docs/manual/indexes/
Supports
- Indexes limiting documents scanned for supported queries
- Index write cost and index management
- Default unique _id index and its role
- https://www.mongodb.com/docs/manual/core/replica-set-architecture-three-members/
Supports
- Three members as the documented minimum replica-set baseline
- Primary, secondary, election, redundancy, and arbiter behavior
- https://www.mongodb.com/docs/manual/sharding/
Supports
- Sharding for large data sets and high throughput
- Shards, mongos, config servers, shard keys, targeted queries, and cluster complexity
- https://www.mongodb.com/docs/manual/core/transactions/
Supports
- Multi-document ACID transactions and their deployment considerations
- https://github.com/numetriclabz/awesome-mongodb
Supports
- Discovery of MongoDB ecosystem resources, libraries, tools, and applications
- https://www.mongodb.com/products/tools/compass
Supports
- MongoDB Compass as a graphical MongoDB tool
- https://mongoosejs.com/
Supports
- Mongoose as a Node.js object modeling library for MongoDB
