DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. LokiJS vs. MySQL

System Properties Comparison CockroachDB vs. LokiJS vs. MySQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonLokiJS  Xexclude from comparisonMySQL  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.In-memory JavaScript DBMSWidely used open source RDBMS
Primary database modelRelational DBMSDocument storeRelational DBMS infoKey/Value like access via memcached API
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.90
Rank#68  Overall
#36  Relational DBMS
Score0.36
Rank#269  Overall
#42  Document stores
Score964.98
Rank#2  Overall
#2  Relational DBMS
Websitewww.cockroachlabs.comgithub.com/­techfort/­LokiJSwww.mysql.com
Technical documentationwww.cockroachlabs.com/­docstechfort.github.io/­LokiJSdev.mysql.com/­doc
DeveloperCockroach LabsOracle infosince 2010, originally MySQL AB, then Sun
Initial release201520141995
Current release24.1.0, May 20249.0.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are available
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJavaScriptC and C++
Server operating systemsLinux
macOS
Windows
server-less, requires a JavaScript environment (browser, Node.js)FreeBSD
Linux
OS X
Solaris
Windows
Data schemedynamic schemaschema-freeyes
Typing infopredefined data types such as float or dateyesnoyes
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.nonoyes
Secondary indexesyesyes infovia viewsyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infowith proprietary extensions
APIs and other access methodsJDBCJavaScript APIADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaScriptAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnoView functions in JavaScriptyes infoproprietary syntax
Triggersnoyesyes
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 RAFTnonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integrityyesnoyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infoatomic operations within a single collection possibleACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlRole-based access controlnoUsers with fine-grained authorization concept infono user groups or roles

More information provided by the system vendor

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

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

More resources
CockroachDBLokiJSMySQL
DB-Engines blog posts

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

show all

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

Recent citations in the news

IBM Expands Its Hybrid Cloud and AI Capabilities with CockroachDB Integration
7 May 2025, TipRanks

Cockroach Labs Brings Distributed SQL to IBM LinuxONE and Linux on IBM Z
7 May 2025, StreetInsider

Cockroach Labs Brings Distributed SQL to IBM LinuxONE and Linux on IBM Z
7 May 2025, Longview News-Journal

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

AI Meets Resilience: Cockroach Labs Intros CockroachDB 24.2
2 October 2024, Channel Insider

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, i-programmer.info

provided by Google News

LockBit ransomware gang hacked, victim negotiations exposed
8 May 2025, BleepingComputer

30 years of MySQL, the database that changed the world
6 May 2025, theregister.com

Study and Get Certified For MySQL With Oracle University For Free
6 May 2025, i-programmer.info

Continuent Releases Tungsten Cluster v8, Expanding Enterprise-Grade MySQL High Availability with Powerful New Features and Tools
6 May 2025, Yahoo Finance

MySQL Explained: Your Guide to Mastering This Powerful Database
29 August 2024, Oracle

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

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.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here