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. Hive vs. LokiJS vs. MongoDB

System Properties Comparison CockroachDB vs. Hive vs. LokiJS vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHive  Xexclude from comparisonLokiJS  Xexclude from comparisonMongoDB  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.data warehouse software for querying and managing large distributed datasets, built on HadoopIn-memory JavaScript DBMSOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelRelational DBMSRelational DBMSDocument storeDocument store
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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.40
Rank#58  Overall
#34  Relational DBMS
Score77.89
Rank#17  Overall
#11  Relational DBMS
Score0.63
Rank#245  Overall
#37  Document stores
Score469.33
Rank#5  Overall
#1  Document stores
Websitewww.cockroachlabs.comhive.apache.orggithub.com/­techfort/­LokiJSwww.mongodb.com
Technical documentationwww.cockroachlabs.com/­docscwiki.apache.org/­confluence/­display/­Hive/­Hometechfort.github.io/­LokiJSdocs.mongodb.com/­manual
DeveloperCockroach LabsApache Software Foundation infoinitially developed by FacebookMongoDB, Inc
Initial release2015201220142009
Current release21.1.2, June 20213.1.3, April 20226.0.1, August 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2Open SourceOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.
Cloud-based only infoOnly available as a cloud servicenononono infoMongoDB available as DBaaS (MongoDB Atlas)
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.ScaleGrid for MongoDB Database: Fully managed hosting for MongoDB Database on a wide variety of cloud providers and On-Premises. Automate your management, scaling and backups through one centralized platform.
Implementation languageGoJavaJavaScriptC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)Linux
OS X
Solaris
Windows
Data schemedynamic schemayesschema-freeschema-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.
Typing infopredefined data types such as float or dateyesyesnoyes infostring, integer, double, decimal, boolean, date, object_id, geospatial
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 infovia viewsyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like DML and DDL statementsnoRead-only SQL queries via the MongoDB Connector for BI
APIs and other access methodsJDBCJDBC
ODBC
Thrift
JavaScript APIproprietary protocol using JSON
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C++
Java
PHP
Python
JavaScriptActionscript 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
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
Server-side scripts infoStored proceduresnoyes infouser defined functions and integration of map-reduceView functions in JavaScriptJavaScript
Triggersnonoyesyes infoin MongoDB Atlas only
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 RAFTShardingnoneSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTselectable replication factornoneMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infoquery execution via MapReduceyesyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual ConsistencynoneEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Foreign keys infoReferential integrityyesnonono infotypically not used, however similar functionality with DBRef possible
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnono infoatomic operations within a single collection possibleMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes infooptional, enabled by default
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes infoIn-memory storage engine introduced with MongoDB version 3.2
User concepts infoAccess controlRole-based access controlAccess rights for users, groups and rolesnoAccess rights for users and roles
More information provided by the system vendor
CockroachDBHiveLokiJSMongoDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB self-hosted clusters 20K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» 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

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

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

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

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

More resources
CockroachDBHiveLokiJSMongoDB
DB-Engines blog posts

Why is Hadoop not listed in the DB-Engines Ranking?
13 May 2013, Paul Andlinger

show all

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

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

CockroachDB brings user-defined functions to distributed SQL
8 December 2022, TechTarget

In Conversation with Spencer Kimball, CEO, Cockroach Labs
17 November 2022, Matt Turck

Cockroach Labs debuts serverless edition of its popular CockroachDB database
21 September 2022, SiliconANGLE News

CockroachDB adds command line tool as database hits version 22.1
24 May 2022, The Register

O'Reilly Launches New Book: CockroachDB the Definitive Guide
10 May 2022, PR Newswire

provided by Google News

Google BigQuery introduces Apache Iceberg Tables | by Christianlauer | Geek Culture | Dec, 2022
5 December 2022, Medium

Global Open-Source Database Software Market Developments, Trends, Key Opportunity, Application and Forecast to 2030 – PRIZM News
7 December 2022, PRIZM News

Caltech's ML algorithm can classify 1000 supernovae
1 December 2022, INDIAai

OkeraEnsemble secures data access to structured and unstructured file data
18 November 2022, Help Net Security

Alluxio boosts scalability and adds multitenant support
16 November 2022, SiliconANGLE News

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

MongoDB stock jumps 27% after cloud database company shows surprise adjusted profit
6 December 2022, CNBC

MongoDB Stock: Blowout Quarter, But I'm Still Bearish (NASDAQ:MDB)
7 December 2022, Seeking Alpha

MongoDB: Huge Growth Causes A 27% Share Price Surge (NASDAQ:MDB)
7 December 2022, Seeking Alpha

MongoDB CISO weighs in on developer multicloud tools and data transformation
7 December 2022, SiliconANGLE News

MongoDB, Inc. (MDB) Presents at UBS 2022 Global TMT Conference (Transcript)
7 December 2022, Seeking Alpha

provided by Google News

Job opportunities

Web Developer PHP/SQL
Round Sky, Las Vegas, NV

Distributed Systems Engineer (L4) - Data Platform
Netflix, Remote

.NET Developer
Skillspark AB, Remote

Software Engineer - Big Data
JPMorgan Chase Bank, N.A., Jersey City, NJ

Java/Spring Boot Software Engineering
JPMorgan Chase Bank, N.A., Chicago, IL

Hive Developer
Cognizant Technology Solutions, Hartford, CT

Data Scientist - MADDEN
Electronic Arts, Orlando, FL

Data Analyst
United Network for Organ Sharing, Richmond, VA

Software Developer
Maxima Consulting, Wakefield, MA

Data Modeler/Analyst
Object Technology Solution, Overland Park, KS

General Apply
Bevy, San Francisco, CA

Data Warehouse Engineer - ENTRY LEVEL -
PCS Global Tech, Seattle, WA

Snowflake and MongoDB Database Administrator
Eclaro, Remote

MongoDB Consultant
Pristine IT, Remote

Chief Technology Officer
Insider Inc, New York, NY

jobs by Indeed



Share this page

Featured Products

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Redis logo

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

Present your product here