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. H2

System Properties Comparison CockroachDB vs. H2

Please select another system to include it in the comparison.

Our visitors often compare CockroachDB and H2 with PostgreSQL, MySQL and MongoDB.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonH2  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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.
Primary database modelRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.53
Rank#59  Overall
#33  Relational DBMS
Score9.81
Rank#51  Overall
#31  Relational DBMS
Websitewww.cockroachlabs.comwww.h2database.com
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.html
DeveloperCockroach LabsThomas Mueller
Initial release20152005
Current release21.1.2, June 20212.1.210, January 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infodual-licence (Mozilla public license, Eclipse public license)
Cloud-based only infoOnly available as a cloud servicenono
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.
Implementation languageGoJava
Server operating systemsLinux
macOS
Windows
All OS with a Java VM
Data schemedynamic schemayes
Typing infopredefined data types such as float or dateyesyes
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 indexesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes
APIs and other access methodsJDBCJDBC
ODBC
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Java
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functions
Triggersnoyes
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 RAFTnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTWith clustering: 2 database servers on different computers operate on identical copies of a database
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBH2
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, MyDoc, Bitski,...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB Self-Hosted clusters 15K+ 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

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

More resources
CockroachDBH2
Recent citations in the news

Cockroach Labs Releases Free "SQL for App Developers" Courses to Bridge Education Gap
20 July 2022, PR Newswire

Cockroach Labs Appoints Former Amazon General Counsel Michelle Wilson to Board of Directors
15 August 2022, PR Newswire

A Modern Database Meets a Modern DevOps Data Platform
12 August 2022, Security Boulevard

CockroachDB 22.1 Ramps up Automation, Scaling – The New Stack
25 May 2022, thenewstack.io

CockroachDB database creator Cockroach Labs raises $278M
16 December 2021, VentureBeat

provided by Google News

Job opportunities

Database Administrator (MYSQL,100% Remote, EST Shifts)
ITGen Systems, Remote

Database Administrator
Techworkers, Remote

Senior Database Administrator
Surescripts, Minneapolis, MN

Platform Engineer (Database)
PLACE Corporate Careers, Denver, CO

Node.js Developer
Aspire Systems, Seattle, WA

jobs by Indeed



Share this page

Featured Products

Redis logo

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

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

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Neo4j logo

The right graph database.
Not a graph add-on.
Free forever.
Start solving today

Present your product here