Community Edition

MongoDB
Community Edition

MongoDB is a general-purpose document database. With the Community Edition you can self-manage and host it locally or in the cloud. You can also develop with MongoDB Atlas for free in your local environment, including local experiences for full-text and vector search, as well as in the cloud.
Illustration of a database.

MongoDB Community Edition vs. MongoDB Atlas

MongoDB Atlas is an integrated suite including the core database and data services for building applications in the cloud. Atlas is ideal for most use cases, but some developers still prefer MongoDB Community Edition. Here's how they're different:
MongoDB Community Edition MongoDB Atlas
Management

You are responsible for managing your deployment of the MongoDB Community Edition. This can require specialized knowledge and take time away from more value-added activities.

Atlas includes a fully managed cloud database and associated data services. This means backups, patches, upgrades, and other operational tasks are automated and handled for you.

Local Development

You can download the MongoDB Community Edition to develop locally, but you will not get full-text or vector search capabilities. Developing with change streams and transactions requires additional setup.

You can use the Atlas CLI to easily set up sandboxed local Atlas deployments for development and testing, including using Atlas Search and Vector Search locally. Local Atlas deployments support change streams and transactions out of the box.

Support

No on-call technical support.

Atlas comes with basic support included, with increased SLA coverage available as optional.

Maintenance

You have to manage patching and upgrading manually.

Atlas applies software patches and upgrades automatically.

Backups

You will need to design and implement your own backup strategy.

Atlas provides backups as a safety measure in the event of data loss for all clusters above the M2 tier and enhanced features such as cloud backups for M10 and higher tiers.

Monitoring and Alerts

No built-in monitoring capabilities – you will need to set up and integrate your database with your chosen third-party monitoring and alerting tools.

Atlas provides built-in tools, alerts, charts, integrations, and logs to help you monitor your database deployments.

Full-Text Search

No full-text search capabilities

Atlas provides full-text search capabilities with Atlas Search, allowing you to use a single, unified API across both your database and search operations.

Vector Search

No vector search capabilities.

Atlas Vector Search allows you to build intelligent applications powered by semantic search and generative AI over any type of data.

Stream Processing

No stream processing capabilities.

With Atlas Stream Processing, you can use one platform to continuously process streaming data alongside other application data stored in your database.

Data Visualization

No built-in data visualization capabilities.

With Atlas Charts, you can easily create, share, and embed visualizations of your MongoDB Atlas data.

Security

While the Community Edition includes many standard security capabilities like Queryable Encryption with explicit encryption, SCRAM authentication, role-based access control, and TLS/SSL encryption, setting up and maintaining your security configurations requires more time and effort.

Atlas comes pre-configured with secure default settings, along with additional security features beyond what’s offered in the Community Edition, like in-use encryption to protect sensitive workloads, Queryable Encryption, advanced authentication support, granular auditing, IP access list management, network peering connections, and private endpoints. Atlas has gone through third-party compliance standards, so it meets enterprise regulatory requirements and measures.

High Availability

You have to set up and manage replica sets yourself. While you can scale vertically and horizontally, you must do both manually.

Atlas uses replica sets by default, automatically distributes database clusters across the availability zones, and provides a 99.995% uptime SLA for all clusters M10 and higher.

Atlas offers the ability to have globally distributed clusters in a few clicks or API calls, allowing teams to easily achieve data residency compliance and lower latency for global applications.

Scalability

You can scale horizontally with sharding, but this requires deploying and managing complex infrastructure.

Atlas can automatically scale your cluster tier, storage capacity, or both in response to cluster usage. This removes the need to write scripts or do other manual work to make scaling decisions.

Atlas also makes it easy to control costs by specifying a range of maximum and minimum cluster sizes that your cluster can automatically scale to.

Code window illustration.

Develop locally with MongoDB

Many developers get started with the MongoDB Community Edition because they want to develop locally. But did you know you can also build locally – including using Atlas Search and Atlas Vector Search — with MongoDB Atlas?

Use the Atlas CLI to programmatically create and manage Atlas deployments from your local development environment all the way to the cloud. Get started with Homebrew or download the Atlas CLI.
Download Atlas CLI

Why MongoDB?

Illustration of documents.

Document data model

  • Documents in MongoDB correspond naturally to objects in major programming languages.

  • Embedded documents and arrays reduce the need for complex and expensive table joins.

  • Flexible schema makes it easy to adjust your data model as your requirements evolve.
Illustration of a laptop and different types of documents.

Expressive Query API

  • You can query virtually any data structure with ease, including key-value, graph, geospatial, time series, and objects.

  • Powerful aggregations allow you to transform and analyze data in place.

  • A wide range of powerful operators make it easy to query one or more documents based on combined criteria, including within nested arrays and objects.
An illustration of a compass, a file cabinet, a magnifying glass, chart and miscellaneous documents (which represent data).

Best-in-class developer experience

  • MongoDB offers drivers for all major programming languages, so you can easily connect to and interact with your database idiomatically.

  • MongoDB Compass, our downloadable GUI tool, allows you to connect to your database and query and explore your data.

  • The MongoDB for VS Code Extension lets you interact with your data on MongoDB directly from your IDE.

  • The MongoDB Shell gives you a fully functional JavaScript and Node.js REPL environment for interacting with MongoDB deployments.
An illustration of Database
MongoDB 8.0
With 36% higher throughput, easier horizontal scaling, and expanded queryable encryption, MongoDB is faster and more secure than ever.Learn More

Discover MongoDB

Find out what else MongoDB and our other software has to offer by exploring our documentation, community, and learning resources.

Get started with Atlas today

Get started in seconds. Our free clusters come with 512 MB of storage so you can play around with sample data and get oriented with our platform.
GET STARTED FOR FREE WITH:
  • 125+ regions worldwide
  • Sample data sets
  • Always-on authentication
  • End-to-end encryption
  • Command line tools