Welcome to MongoDB Docs
Welcome to the MongoDB documentation. This site contains everything you need to learn to effectively use MongoDB as an application developer or an operator.
What is MongoDB?
MongoDB is a document-oriented, operational database built from the ground up as an alternative to the relational database for modern applications.
Unlike relational databases, MongoDB allows developers to store rich JSON-like documents that map naturally to the objects they use in their code.
For example, to model user objects in an application, a relational model would require multiple tables for what could be elegantly stored in MongoDB as this:
{ firstname: "Bob", lastname: "Smith", email: "bob@smith.com", address: { street: "100 Main St", city: "Anytown", state: "MO", zip: "11111" } }
And retrieved with queries such as:
users.find({address.zip : "111111"})
MongoDB also offers: - Strong consistency with ACID transactions. - Modern additional built-in query capabilities such as geographical search, lexical search, and vector search. - Serverless horizontal scaling with geography-aware fault tolerance across all major cloud providers. - Security primitives that comply with the most demanding of enterprise environments.
Getting Started
Start here! Our Getting Started guide walks you through deploying your first database and downloading all the tools and libraries you need to start developing with MongoDB.
Development
Everything you need to know to write apps with MongoDB, from the basics like connecting, CRUD, and the core query language, to advanced topics such as index optimization and data modeling.
Management
Everything you need to know to administer and manage MongoDB deployments, including provisioning, scaling, backup, monitoring, disaster recovery, security.
Client Libraries
Connect application code to MongoDB with a client library in your favorite programming language or application framework.
Tools
Explore tools and integrations to aid in both development and management, including simplifying database management, integration, migration, and data visualization.
Atlas Architecture Center
Learn best practices for designing scalable, secure, and resilient systems using MongoDB in enterprise environments including architecture fundamentals, MongoDB capabilities, and reference architectures.
More Ways to Learn
Take Free Courses on MongoDB University
Join Forums and Discussions
View Developer Resources