DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. MongoDB vs. VelocityDB

System Properties Comparison CockroachDB vs. MongoDB vs. VelocityDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMongoDB  Xexclude from comparisonVelocityDB  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureA .NET Object Database that can be embedded/distributed and extended to a graph data model (VelocityGraph)
Primary database modelRelational DBMSDocument storeGraph DBMS
Object oriented DBMS
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.89
Rank#59  Overall
#34  Relational DBMS
Score439.42
Rank#5  Overall
#1  Document stores
Score0.12
Rank#377  Overall
#35  Graph DBMS
#19  Object oriented DBMS
Websitewww.cockroachlabs.comwww.mongodb.comvelocitydb.com
Technical documentationwww.cockroachlabs.com/­docswww.mongodb.com/­docs/­manualvelocitydb.com/­UserGuide
DeveloperCockroach LabsMongoDB, IncVelocityDB Inc
Initial release201520092011
Current release23.1.1, May 20236.0.7, June 20237.x
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.commercial
Cloud-based only infoOnly available as a cloud servicenono infoMongoDB available as DBaaS (MongoDB Atlas)no
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
Implementation languageGoC++C#
Server operating systemsLinux
macOS
Windows
Linux
OS X
Solaris
Windows
Any that supports .NET
Data schemedynamic schemaschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yes
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLRead-only SQL queries via the MongoDB Atlas SQL Interfaceno
APIs and other access methodsJDBCGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
.Net
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
.Net
Server-side scripts infoStored proceduresnoJavaScriptno
Triggersnoyes infoin MongoDB Atlas onlyCallbacks are triggered when data changes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoIn-memory storage engine introduced with MongoDB version 3.2yes
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesBased on Windows Authentication
More information provided by the system vendor
CockroachDBMongoDBVelocityDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
MongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Built around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
AI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metrics10K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Hundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more
MongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
CockroachDBMongoDBVelocityDB
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Santander, Booking.com, and DoorDash Join Cockroach Labs ...
12 September 2023, PR Newswire

CockroachDB now supports Microsoft Azure, multiregion deployments
16 May 2023, InfoWorld

There are lots of ways to put a database in the cloud – here's what to consider
15 September 2023, The Register

CockroachDB hits Azure at last after five-year mission
9 June 2023, The Register

Distributed PostgreSQL Benchmarks: Azure Cosmos DB ...
8 July 2023, InfoQ.com

provided by Google News

MongoDB Announces Four New AI-Powered Capabilities to Improve ...
26 September 2023, PR Newswire

New MongoDB Atlas Vector Search Capabilities Help Developers ...
26 September 2023, investorsobserver.com

MongoDB Launches Advanced Data Management Capabilities to Run Applications Anywhere - MongoDB (NASDAQ:MDB
26 September 2023, Benzinga

MongoDB Changes The Database Game With Queryable Encryption
25 September 2023, Forbes

Is It Too Late to Buy MongoDB Stock?
25 September 2023, The Motley Fool

provided by Google News

Job opportunities

Software Engineer, Data Pipelines
Magical Tome, San Francisco, CA

Backend Engineer, Managed Datastores
Render, San Francisco Bay Area, CA

Application Software Engineer, Data
SpaceX, Hawthorne, CA

AWS App Modernization - Full-Stack, CDK, Typescript
Vertical Relevance, Remote

Software Engineer (L4), Applications Engineering - Feature...
Netflix Animation, Burbank, CA

Technical Customer Support Representative
Sakari, Remote

MongoDB
Devcare Solutions, California

MongoDB - Sales Development Representative
RippleMatch Opportunities, Austin, TX

MongoDB Engineer
Alltech International, Remote

Level 3 MongoDB Escalation Specialist
Percona, Remote

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Redis logo

The world’s most loved real‑time data platform.
Try free

Present your product here