Docs Menu
Docs Home

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.

Get Started

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 this:

users.find({address.zip : "11111"})

MongoDB also offers:

  • Strong consistency with ACID transactions.

  • Modern additional built-in query capabilities such as geo search, lexical search, and vector search.

  • Serverless horizontal scaling with geo-aware fault tolerance across all major clouds.

  • Security primitives that allow MongoDB to operate in 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.

Take Free Courses on MongoDB University

Join Forums and Discussions

View Developer Resources

On this page