What is
MongoDB
?
MongoDB is a document-oriented operational database that stores JSON-like documents and adds built-in transactions, text, vector and geospatial search, offered as the managed Atlas service or as self-managed software.
At a glance
Attribute | Value |
|---|---|
Primary use case | Document database for operational, transactional, search, vector and analytical workloads |
Deployment type | Fully managed cloud (Atlas) or self-managed (Enterprise Advanced, Community Edition) |
Pricing model | Atlas pay-as-you-go: Free $0/hour; Flex $0.011/hour (up to $30/month); Dedicated from $0.08/hour; Atlas Infinite $0.09/hour (preview). Community Edition no cost; Enterprise Advanced via sales |
API compatibility | MongoDB Query API and aggregation pipeline; Atlas SQL Interface |
Supported integrations | Apache Kafka, client libraries for most programming languages, 100+ technology integrations |
Cloud provider | AWS, Google Cloud, Azure |
Key metrics | Vendor-reported: 67k+ customers, 1,000+ technology and service partners, 100+ technology integrations |
AEP branch | Tooling |
AEP category | Resources |
AEP subcategory | Data |
Profile
MongoDB stores data as JSON-like documents in collections. Atlas runs the database as clusters sized by tier. Free and Flex clusters use shared resources, Dedicated M10 and M20 use shared vCPUs, and M30 and above use dedicated vCPUs and support sharded clusters. Sharded clusters add compute and storage through horizontal scaling. Atlas also offers Data Federation, a serverless query engine for querying application and cloud data together, and Charts for visualizations built into Atlas.
Focus
Teams building applications on real-time operational data. Use cases include artificial intelligence, modernization, payments, gaming, intelligent search, and edge and mobile. Industries include financial services, healthcare, retail and the public sector.
Background
Dwight Merriman, Eliot Horowitz and Kevin Ryan, veterans of Doubleclick, founded MongoDB (formerly 10gen) in 2007 after hitting the limits of relational databases. The company is MongoDB, Inc.
Features
Document data model and query API
Documents follow the application's access patterns. One query API handles everything from simple lookups to complex aggregation pipelines for analytics and transformations.
ACID transactions and indexing
Multi-document ACID transactions, secondary indexes and joins support transactional workloads with strong consistency.
Search and Vector Search
Full-text and semantic search run on Atlas next to operational data. Vector Search supports recommendation engines, Q&A systems and context for generative AI apps.
Atlas Stream Processing
Processes high-velocity data streams from sources like Apache Kafka with the same aggregation pipeline stages used for the database. This supports event-driven applications that react in near real-time.
Atlas Infinite
A deployment option that scales compute and storage independently, up to 128TB per HA shard, with sub-second scaling triggers. It is built for workloads with sudden demand spikes.
Atlas Agent Engine
An execution, memory and governance layer for running production AI agents on Atlas without locking into a single model or framework.
Pros and cons
Pros
Documents map naturally to the objects developers use in code, so data needs no translation into relational tables.
Operational data, search, vector search and streams sit on one platform, reducing the number of separate systems to run and sync.
Teams can choose between fully managed Atlas on AWS, Google Cloud or Azure and self-managed deployment on their own infrastructure.
Client libraries exist for almost every modern programming language and work with most application frameworks.
Atlas clusters can be scaled up from any tier, and Dedicated clusters can auto-scale tier and storage.
Cons
M0 is capped at 512 MB and 100 operations per second without backups. Flex has feature limitations, and full Atlas features need Dedicated tiers.
Outside Free and Flex, Atlas charges for outbound and cross-region data transfer. Backup, Stream Processing, dedicated Search nodes and support are billed separately.
Enterprise Advanced requires a commercial license arranged through sales, and your own team operates self-managed deployments.
Atlas Infinite and Atlas Agent Engine are still in public preview, and Atlas Infinite requires M10+ dedicated clusters.
FAQs
What is MongoDB?
MongoDB is a document-oriented operational database built as an alternative to relational databases. It stores JSON-like documents and includes ACID transactions plus geospatial, lexical and vector search.
How much does MongoDB cost?
Atlas is billed hourly with monthly invoices. The M0 tier is free forever, Flex costs $0.011/hour up to $30/month, and Dedicated clusters start at $0.08/hour. Community Edition is available at no cost. Enterprise Advanced is sold under a commercial license through a solutions advisor.
Can MongoDB be self-hosted?
Yes. Enterprise Advanced lets you manage MongoDB on your own infrastructure and includes Ops Manager, Cloud Manager and a Kubernetes Operator. Community Edition can be run locally for development. Atlas is the fully managed cloud option.
Which clouds does Atlas run on?
Atlas runs on AWS, Google Cloud and Azure. Costs vary slightly by provider and region.
Which programming languages and integrations are supported?
MongoDB offers client libraries for almost every modern programming language, and they are compatible with most application frameworks. MongoDB says it integrates with 100+ technologies, and Atlas Stream Processing reads streams from sources like Apache Kafka.
How does MongoDB scale?
Atlas clusters can move up tiers as needs grow, and Dedicated tiers can auto-scale tier and storage. Sharded clusters scale horizontally beyond 4 TB. Atlas Infinite, in public preview, scales compute and storage independently.
