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

DBMS > CockroachDB vs. H2 vs. SpaceTime vs. SQLite

System Properties Comparison CockroachDB vs. H2 vs. SpaceTime vs. SQLite

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonH2  Xexclude from comparisonSpaceTime  Xexclude from comparisonSQLite  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.SpaceTime is a spatio-temporal DBMS with a focus on performance.Widely used embeddable, in-process RDBMS
Primary database modelRelational DBMSRelational DBMSSpatial DBMSRelational DBMS
Secondary database modelsSpatial DBMSRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score7.57
Rank#47  Overall
#30  Relational DBMS
Score0.00
Rank#385  Overall
#7  Spatial DBMS
Score103.35
Rank#10  Overall
#7  Relational DBMS
Websitewww.cockroachlabs.comwww.h2database.comwww.mireo.com/­spacetimewww.sqlite.org
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlwww.sqlite.org/­docs.html
DeveloperCockroach LabsThomas MuellerMireoDwayne Richard Hipp
Initial release2015200520202000
Current release24.1.0, May 20242.2.220, July 20233.46.1  (13 August 2024), August 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercialOpen Source infoPublic Domain
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJavaC++C
Server operating systemsLinux
macOS
Windows
All OS with a Java VMLinuxserver-less
Data schemedynamic schemayesyesyes infodynamic column types
Typing infopredefined data types such as float or dateyesyesyesyes infonot rigid because of 'dynamic typing' concept.
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.nononono
Secondary indexesyesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesA subset of ANSI SQL is implementedyes infoSQL-92 is not fully supported
APIs and other access methodsJDBCJDBC
ODBC
RESTful HTTP APIADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaC#
C++
Python
Actionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsnono
Triggersnoyesnoyes
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 RAFTnoneFixed-grid hypercubesnone
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 databaseReal-time block device replication (DRBD)none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes infovia file-system locks
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesnoyes
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardyesno

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 partiesNavicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
CockroachDBH2SpaceTimeSQLite
DB-Engines blog posts

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Recent citations in the news

Cockroach Labs Sets a New Benchmark in Enterprise Resilience with Next-Generation AI Capabilities and Enhanced Cloud Tiers
26 September 2024, PR Newswire

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 Shifts from Open Core to Single Enterprise Model
19 August 2024, Datanami

provided by Google News

Intro to Node's built-in SQLite module
24 September 2024, InfoWorld

From Zero to App: Building a Database-Driven Streamlit App with Python | by Alle Sravani | Sep, 2024
26 September 2024, Towards Data Science

Google researchers suggest "fixing" SQL with pipe syntax, SQLite creator unconvinced
30 August 2024, DevClass

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

A Guide to Working with SQLite Databases in Python
21 May 2024, KDnuggets

provided by Google News



Share this page

Featured Products

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

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

Present your product here