DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Google Cloud Datastore vs. H2

System Properties Comparison CockroachDB vs. Google Cloud Datastore vs. H2

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonGoogle Cloud Datastore  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.Automatically scaling NoSQL Database as a Service (DBaaS) on the Google Cloud PlatformFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.
Primary database modelRelational DBMSDocument storeRelational DBMS
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.40
Rank#58  Overall
#34  Relational DBMS
Score6.36
Rank#65  Overall
#12  Document stores
Score8.67
Rank#52  Overall
#31  Relational DBMS
Websitewww.cockroachlabs.comcloud.google.com/­datastorewww.h2database.com
Technical documentationwww.cockroachlabs.com/­docscloud.google.com/­datastore/­docswww.h2database.com/­html/­main.html
DeveloperCockroach LabsGoogleThomas Mueller
Initial release201520082005
Current release21.1.2, June 20212.1.210, January 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)
Cloud-based only infoOnly available as a cloud servicenoyesno
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
hostedAll OS with a Java VM
Data schemedynamic schemaschema-freeyes
Typing infopredefined data types such as float or dateyesyes, details hereyes
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.nonono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query language (GQL)yes
APIs and other access methodsJDBCgRPC (using protocol buffers) API
RESTful HTTP/JSON API
JDBC
ODBC
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Java
Server-side scripts infoStored proceduresnousing Google App EngineJava Stored Procedures and User-Defined Functions
TriggersnoCallbacks using the Google Apps Engineyes
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 RAFTShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication using PaxosWith clustering: 2 database servers on different computers operate on identical copies of a database
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual Consistency depending on type of query and configuration infoStrong Consistency is default for entity lookups and queries within an Entity Group (but can instead be made eventually consistent). Other queries are always eventual consistent.Immediate Consistency
Foreign keys infoReferential integrityyesyes infovia ReferenceProperties or Ancestor pathsyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infoSerializable Isolation within Transactions, Read Committed outside of TransactionsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)fine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBGoogle Cloud DatastoreH2
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

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

More resources
CockroachDBGoogle Cloud DatastoreH2
Recent citations in the news

Hasura Native Integrations with CockroachDB and AWS Athena Give Users Fast, Resilient, Secure GraphQL APIs Instantly
8 November 2022, Business Wire

In Conversation with Spencer Kimball, CEO, Cockroach Labs
17 November 2022, mattturck.com

CockroachDB gets database migration tool, as CockroachDB Serverless launches
21 September 2022, InfoWorld

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

CockroachDB Serverless Now Generally Available
29 September 2022, InfoQ.com

provided by Google News

The Seven Scariest Cloud Attack Paths
15 November 2022, DevPro Journal

Google and Oracle Cloud Servers Struggle in Heatwave
20 July 2022, Gizmodo

5 operations every cloud architect should automate
28 November 2022, InfoWorld

What Is a Customer Data Platform & Who Needs One?
26 November 2022, BizTech Magazine

All of Google’s cloud database services are now out of beta
16 August 2016, TechCrunch

provided by Google News

Job opportunities

.NET Developer
Skillspark AB, Remote

Devops Engineer
Hiscope Cyberlink technologies, Remote

Node.js Developer
Aspire Systems Digital Inc, Mountain View, CA

Lead DBA
JPMorgan Chase Bank, N.A., Houston, TX

Infrastructure Engineer II
Bank of America, Charlotte, NC

Staff Backend Software Engineer- Data Collection
Indigo, Remote

GIS Platform Datastore Manager
National Geographic Society, Remote

GCP Consultant, GCVE
Ensono, Remote

Data Engineer III
Policygenius, New York, NY

Data Engineer
Sweetwater Sound, Fort Wayne, IN

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

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

The definitive guide for Cassandra

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

Vertica logo

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

Neo4j logo

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

Present your product here