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

DBMS > CockroachDB vs. MySQL vs. SAP HANA vs. SQL.JS

System Properties Comparison CockroachDB vs. MySQL vs. SAP HANA vs. SQL.JS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMySQL  Xexclude from comparisonSAP HANA  Xexclude from comparisonSQL.JS  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.Widely used open source RDBMSIn-memory, column based data store. Available as appliance or cloud servicePort of SQLite to JavaScript
Primary database modelRelational DBMSRelational DBMS infoKey/Value like access via memcached APIRelational DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Graph DBMS infowith SAP Hana, Enterprise Edition
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score1029.49
Rank#2  Overall
#2  Relational DBMS
Score41.32
Rank#23  Overall
#16  Relational DBMS
Score0.53
Rank#246  Overall
#115  Relational DBMS
Websitewww.cockroachlabs.comwww.mysql.comwww.sap.com/­products/­hana.htmlsql.js.org
Technical documentationwww.cockroachlabs.com/­docsdev.mysql.com/­dochelp.sap.com/­hanasql.js.org/­documentation/­index.html
DeveloperCockroach LabsOracle infosince 2010, originally MySQL AB, then SunSAPAlon Zakai infoenhancements implemented by others
Initial release2015199520102012
Current release24.1.0, May 20249.0.0, July 20242.0 SPS07 (April 4, 2023), April 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availablecommercialOpen Source
Cloud-based only infoOnly available as a cloud servicenonono infoalso available as a cloud based serviceno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC and C++JavaScript
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
OS X
Solaris
Windows
Appliance or cloud-serviceserver-less, requires a JavaScript environment (browser, Node.js)
Data schemedynamic schemayesyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.noyesnono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infowith proprietary extensionsyesyes infoSQL-92 is not fully supported
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
Proprietary native API
JDBC
ODBC
JavaScript API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
JavaScript
Server-side scripts infoStored proceduresnoyes infoproprietary syntaxSQLScript, Rno
Triggersnoyesyesno
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 RAFThorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricyesnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
yesnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engineyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyesyesno infoexcept by serializing a db to a file
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyes
User concepts infoAccess controlRole-based access controlUsers with fine-grained authorization concept infono user groups or rolesyesno

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» 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
CockroachDBMySQLSAP HANASQL.JS
DB-Engines blog posts

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

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

show all

Recent citations in the news

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

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

Cockroach Labs Shifts from Open Core to Single Enterprise Model
19 August 2024, Datanami

provided by Google News

MySql Explain with Tobias Petry
20 September 2024, Laravel News

Amazon RDS for MySQL zero-ETL integration with Amazon Redshift, now generally available, enables near real-time analytics | Amazon Web Services
12 September 2024, AWS Blog

HeatWave MySQL – New Capabilities for OLTP Workloads
10 September 2024, Oracle

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

How to get started with MySQL
31 July 2024, InfoWorld

provided by Google News

Combine the Power of AI with Business Context Using SAP HANA Cloud Vector Engine
2 April 2024, SAP News

Automating application-consistent Amazon EBS Snapshots for SAP HANA databases
6 February 2024, AWS Blog

SAP HANA and Leonardo Ecosystem Partners – ISG Provider Lens Study 2019 Results
16 September 2024, Capgemini

The best way to modernize your close & consolidation process in an SAP S/4 HANA environment
9 April 2024, Wolters Kluwer

SAP HANA Cloud Vector Engine
18 April 2024, IgniteSAP

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024
22 March 2023, SitePoint

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

Running PostgreSQL Inside Your Browser
8 September 2022, iProgrammer

React Native for beginners
31 October 2018, hackernoon.com

10 Low-Code Rules for Serious Coders
21 November 2022, Embedded Computing Design

provided by Google News



Share this page

Featured Products

Neo4j logo

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

Milvus logo

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

SingleStore logo

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

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

Present your product here